First development of the deploy action (#6)
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Deploy js code to an instance of screeps. Some debugging tools are implemented. Reviewed-on: #6 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
54
node_modules/gauge/themes.js
generated
vendored
Normal file
54
node_modules/gauge/themes.js
generated
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
'use strict'
|
||||
var consoleControl = require('console-control-strings')
|
||||
var ThemeSet = require('./theme-set.js')
|
||||
|
||||
var themes = module.exports = new ThemeSet()
|
||||
|
||||
themes.addTheme('ASCII', {
|
||||
preProgressbar: '[',
|
||||
postProgressbar: ']',
|
||||
progressbarTheme: {
|
||||
complete: '#',
|
||||
remaining: '.'
|
||||
},
|
||||
activityIndicatorTheme: '-\\|/',
|
||||
preSubsection: '>'
|
||||
})
|
||||
|
||||
themes.addTheme('colorASCII', themes.getTheme('ASCII'), {
|
||||
progressbarTheme: {
|
||||
preComplete: consoleControl.color('inverse'),
|
||||
complete: ' ',
|
||||
postComplete: consoleControl.color('stopInverse'),
|
||||
preRemaining: consoleControl.color('brightBlack'),
|
||||
remaining: '.',
|
||||
postRemaining: consoleControl.color('reset')
|
||||
}
|
||||
})
|
||||
|
||||
themes.addTheme('brailleSpinner', {
|
||||
preProgressbar: '⸨',
|
||||
postProgressbar: '⸩',
|
||||
progressbarTheme: {
|
||||
complete: '░',
|
||||
remaining: '⠂'
|
||||
},
|
||||
activityIndicatorTheme: '⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏',
|
||||
preSubsection: '>'
|
||||
})
|
||||
|
||||
themes.addTheme('colorBrailleSpinner', themes.getTheme('brailleSpinner'), {
|
||||
progressbarTheme: {
|
||||
preComplete: consoleControl.color('inverse'),
|
||||
complete: ' ',
|
||||
postComplete: consoleControl.color('stopInverse'),
|
||||
preRemaining: consoleControl.color('brightBlack'),
|
||||
remaining: '░',
|
||||
postRemaining: consoleControl.color('reset')
|
||||
}
|
||||
})
|
||||
|
||||
themes.setDefault({}, 'ASCII')
|
||||
themes.setDefault({hasColor: true}, 'colorASCII')
|
||||
themes.setDefault({platform: 'darwin', hasUnicode: true}, 'brailleSpinner')
|
||||
themes.setDefault({platform: 'darwin', hasUnicode: true, hasColor: true}, 'colorBrailleSpinner')
|
Reference in New Issue
Block a user