Skip to content
Snippets Groups Projects
Unverified Commit 89128faf authored by Tom French's avatar Tom French Committed by GitHub
Browse files

Merge pull request #164 from bdoherty/windows

 build on windows
parents ea2ab142 e638cdf4
No related branches found
No related tags found
No related merge requests found
......@@ -82,10 +82,10 @@
},
"scripts": {
"start": "cross-env PORT=3001 node scripts/start.js",
"start:browser": "./bin/watch-browser",
"start:browser": "cross-env ./bin/watch-browser",
"watch": "cross-env PORT=3001 node scripts/start.js",
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.js",
"build:browser": "./bin/build-browser",
"build:browser": "cross-env ./bin/build-browser",
"lint": "eslint src"
},
"browserslist": [
......
......@@ -22,6 +22,10 @@ if [ $NODE_ENV == 'development' ]; then
# Make sure to do this before starting the build since watch mode
# will block
WEBPACK_ARGS="$WEBPACK_ARGS --watch"
if [ "$OSTYPE" == "msys" ]; then
# Ensure symlinks are created as native Windows symlinks.
export MSYS=winsymlinks:nativestrict
fi
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment