Browse Source

npm run build:parser runs in both win & unix

Herbert Vojčík 7 years ago
parent
commit
cfd4d00680
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -29,7 +29,7 @@
   },
   "scripts": {
     "build:parser:begin": "node -e \"process.stdout.write(require('./package.json').strings.buildParserBegin);\"",
-    "build:parser": "(npm run -s build:parser:begin && pegjs --cache --export-var $globals.SmalltalkParser < support/parser.pegjs && npm run -s build:parser:end) > support/parser.js",
+    "build:parser": "(npm run -s build:parser:begin && pegjs --cache --export-var \"$\"globals.SmalltalkParser < support/parser.pegjs && npm run -s build:parser:end) > support/parser.js",
     "build:parser:end": "node -e \"process.stdout.write(require('./package.json').strings.buildParserEnd);\"",
     "test": "npm run test:sunit && npm run test:e2e",
     "test:sunit": "grunt test",