mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 02:22:02 +03:00
.
This commit is contained in:
parent
30afccdc57
commit
6f2008e5a2
@ -3,6 +3,8 @@ import * as path from 'path'
|
||||
const nodeModule = require('module')
|
||||
const nodeRequire = (global as any).require
|
||||
|
||||
declare function delay (ms: number): Promise<void>
|
||||
|
||||
function normalizePath (path: string): string {
|
||||
const cygwinPrefix = '/cygdrive/'
|
||||
if (path.startsWith(cygwinPrefix)) {
|
||||
|
@ -18,11 +18,13 @@
|
||||
"dom",
|
||||
"es2015",
|
||||
"es2015.iterable.ts",
|
||||
"es2017",
|
||||
"es7"
|
||||
]
|
||||
},
|
||||
"compileOnSave": false,
|
||||
"exclude": [
|
||||
"dist",
|
||||
"node_modules",
|
||||
"*/node_modules",
|
||||
"terminus*",
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "term",
|
||||
"devDependencies": {
|
||||
"@types/core-js": "0.9.35",
|
||||
"@types/electron": "1.4.34",
|
||||
"@types/fs-promise": "1.0.1",
|
||||
"@types/node": "7.0.5",
|
||||
|
@ -18,7 +18,7 @@ vars.builtinPlugins.forEach(plugin => {
|
||||
sh.exec(`npm install --only=prod`)
|
||||
log.info('rebuild', 'native')
|
||||
if (fs.existsSync('node_modules')) {
|
||||
rebuild(path.resolve('.'), vars.electronVersion, process.arch, vars.nativeModules, true)
|
||||
rebuild(path.resolve('.'), vars.electronVersion, process.arch, [], true)
|
||||
}
|
||||
sh.cd('..')
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user