Remove PhantomJS as a global dependency
This commit is contained in:
4
build.py
4
build.py
@@ -23,7 +23,7 @@ if sys.platform == 'win32':
|
||||
'JSDOC': './node_modules/.bin/jsdoc',
|
||||
'JSHINT': './node_modules/.bin/jshint',
|
||||
'PYTHON': 'python.exe',
|
||||
'PHANTOMJS': 'phantomjs.cmd'
|
||||
'PHANTOMJS': './node_modules/.bin/phantomjs'
|
||||
}
|
||||
|
||||
sys_dir = os.environ.get('SYSTEMDRIVE')
|
||||
@@ -77,7 +77,7 @@ else:
|
||||
variables.JAR = 'jar'
|
||||
variables.JSDOC = './node_modules/.bin/jsdoc'
|
||||
variables.PYTHON = 'python'
|
||||
variables.PHANTOMJS = 'phantomjs'
|
||||
variables.PHANTOMJS = './node_modules/.bin/phantomjs'
|
||||
|
||||
variables.BRANCH = output(
|
||||
'%(GIT)s', 'rev-parse', '--abbrev-ref', 'HEAD').strip()
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"walk": "~2.3.1",
|
||||
"fs-extra": "~0.8.1",
|
||||
"nomnom": "~1.6.2",
|
||||
"temp": "~0.7.0"
|
||||
"temp": "~0.7.0",
|
||||
"phantomjs": "~1.9.7-5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user