Skip to content

Commit

Permalink
Add executable binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
athif23 committed Sep 25, 2019
1 parent 1c09c7e commit 66a6015
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
Binary file added bin/start-imba-linux
Binary file not shown.
Binary file added bin/start-imba-macos
Binary file not shown.
Binary file added bin/start-imba-win.exe
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"bugs": "https://github.com/athif23/start-imba/issues",
"scripts": {
"format": "prettier --write **/*.{js,json} && standard --fix",
"build-binary": "pkg . --out-path bin",
"lint": "standard",
"watch": "jest --watch",
"snapupdate": "jest --updateSnapshot",
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/cli-extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = toolbox => {
const { prompt } = require('enquirer')
const { clearConsole, logWithSpinner, stopSpinner, hasGit } = require('../shared-utils')

const cliVersion = require(`../../package.json`).version
const cliVersion = require('../../package.json').version
const { print: { warning, info }, filesystem } = toolbox

const useNpm = parameters.options.useNpm || false
Expand Down
7 changes: 4 additions & 3 deletions src/shared-utils/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
;['installDeps', 'check', 'spinner', 'clearConsole'].forEach(m => {
Object.assign(exports, require(`./lib/${m}`))
})
Object.assign(exports, require('./lib/installDeps'))
Object.assign(exports, require('./lib/check'))
Object.assign(exports, require('./lib/spinner'))
Object.assign(exports, require('./lib/clearConsole'))
5 changes: 0 additions & 5 deletions src/shared-utils/lib/spinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,4 @@ exports.pauseSpinner = () => {

exports.resumeSpinner = () => {
spinner.start()
}

// silent all logs except errors during tests and keep record
if (process.env.VUE_CLI_TEST) {
require('./_silence')('spinner', exports)
}

0 comments on commit 66a6015

Please sign in to comment.