symlink jslib on mac/lin

This commit is contained in:
Kyle Spearrin 2020-01-27 12:46:03 -05:00
parent 4f51b6b700
commit 36a33d87b3
2 changed files with 3 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit dce1453732553d991ac910e3a93038f7331c8ab9 Subproject commit e1d42f95d9c662bd4ffc8221bc4e5b9b96a095a6

View File

@ -7,6 +7,8 @@
"sub:pull": "git submodule foreach git pull", "sub:pull": "git submodule foreach git pull",
"postinstall": "npm run sub:init && gulp postinstall", "postinstall": "npm run sub:init && gulp postinstall",
"symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib", "symlink:win": "rm -rf ./jslib && cmd /c mklink /J .\\jslib ..\\jslib",
"symlink:mac": "npm run symlink:lin",
"symlink:lin": "rm -rf ./jslib && ln -s ../jslib ./jslib",
"build": "gulp build && webpack", "build": "gulp build && webpack",
"build:watch": "gulp build && webpack --watch", "build:watch": "gulp build && webpack --watch",
"build:prod": "gulp build && cross-env NODE_ENV=production webpack", "build:prod": "gulp build && cross-env NODE_ENV=production webpack",