mirror of
https://github.com/grafana/grafana.git
synced 2025-09-29 05:43:57 +08:00
append windows phantomjs with .exe (#7065)
This commit is contained in:

committed by
Torkel Ödegaard

parent
9b8760bad7
commit
a656d01bf5
@ -6,6 +6,10 @@ module.exports = function(config,grunt) {
|
|||||||
var dest = './vendor/phantomjs/phantomjs';
|
var dest = './vendor/phantomjs/phantomjs';
|
||||||
var confDir = './node_modules/phantomjs-prebuilt/lib/';
|
var confDir = './node_modules/phantomjs-prebuilt/lib/';
|
||||||
|
|
||||||
|
if (process.platform === "win32") {
|
||||||
|
dest += ".exe";
|
||||||
|
}
|
||||||
|
|
||||||
src = config.phjs
|
src = config.phjs
|
||||||
|
|
||||||
if (!src){
|
if (!src){
|
||||||
|
Reference in New Issue
Block a user