Skip to content

Commit

Permalink
Move other colours to blue. Add build as explicit argument to avoid '…
Browse files Browse the repository at this point in the history
…build not found' w/o it.
  • Loading branch information
mattRedBox committed May 17, 2020
1 parent 0e30e02 commit 15e0961
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .electron-vue/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function build () {
m.on('success', () => {
process.stdout.write('\x1B[2J\x1B[0f')
console.log(`\n\n${results}`)
console.log(`${okayLog}take it away ${chalk.yellow('`electron-builder`')}\n`)
console.log(`${okayLog}take it away ${chalk.blue('`electron-builder`')}\n`)
process.exit()
})

Expand Down Expand Up @@ -119,10 +119,10 @@ function greeting () {

if (text && !isCI) {
say(text, {
colors: ['yellow'],
colors: ['blue'],
font: 'simple3d',
space: false
})
} else console.log(chalk.yellow.bold('\n lets-build'))
} else console.log(chalk.blue.bold('\n lets-build'))
console.log()
}
6 changes: 3 additions & 3 deletions .electron-vue/dev-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let hotMiddleware
function logStats (proc, data) {
let log = ''

log += chalk.yellow.bold(`┏ ${proc} Process ${new Array((19 - proc.length) + 1).join('-')}`)
log += chalk.blue.bold(`┏ ${proc} Process ${new Array((19 - proc.length) + 1).join('-')}`)
log += '\n\n'

if (typeof data === 'object') {
Expand All @@ -33,7 +33,7 @@ function logStats (proc, data) {
log += ` ${data}\n`
}

log += '\n' + chalk.yellow.bold(`┗ ${new Array(28 + 1).join('-')}`) + '\n'
log += '\n' + chalk.blue.bold(`┗ ${new Array(28 + 1).join('-')}`) + '\n'

console.log(log)
}
Expand Down Expand Up @@ -159,7 +159,7 @@ function greeting () {
font: 'simple3d',
space: false
})
} else console.log(chalk.yellow.bold('\n electron-vue'))
} else console.log(chalk.blue.bold('\n electron-vue'))
console.log(chalk.blue(' getting ready...') + '\n')
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"main": "./dist/electron/main.js",
"repository": "https://github.com/ODIQueensland/data-curator.git",
"scripts": {
"build": "node .electron-vue/build.js && ./node_modules/.bin/electron-builder",
"build:sign:win:code": "node .electron-vue/build.js && ./node_modules/.bin/electron-builder --config.win.sign=signWinCode.js",
"build": "node .electron-vue/build.js && electron-builder build",
"build:sign:win:code": "node .electron-vue/build.js && electron-builder build --config.win.sign=signWinCode.js",
"build:sign:win:all": "cross-env yarn run build:sign:win:code && yarn run sign:win:installer",
"build:post": "cross-env node ./postbuild.js",
"build:dir": "node .electron-vue/build.js && ./node_modules/.bin/electron-builder --dir",
"build:dir": "node .electron-vue/build.js build && electron-builder build --dir",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"clean": "cross-env BUILD_TARGET=cleanAll node .electron-vue/build.js",
"sign:win:installer": "cross-env node ./signWinInstaller.js",
Expand Down

0 comments on commit 15e0961

Please sign in to comment.