mirror of https://github.com/keeweb/keeweb.git
Use Grunt's built-in method of parsing command line args
This commit is contained in:
parent
9c32293fa8
commit
25101b5a02
|
@ -3,12 +3,13 @@
|
|||
const fs = require('fs-extra');
|
||||
const path = require('path');
|
||||
const debug = require('debug');
|
||||
const grunt = require('grunt');
|
||||
|
||||
const webpackConfig = require('./build/webpack.config');
|
||||
const webpackConfigTest = require('./test/test.webpack.config');
|
||||
const pkg = require('./package.json');
|
||||
|
||||
const skipCodeSigning = process.argv.some(arg => arg.startsWith('--no-sign'));
|
||||
const skipCodeSigning = grunt.option('no-sign');
|
||||
let codeSignConfig;
|
||||
|
||||
if (!skipCodeSigning) {
|
||||
|
|
Loading…
Reference in New Issue