Conditionally set MSYS
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
This commit is contained in:
parent
fecca411b0
commit
18e6eac116
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ if [ $NODE_ENV == 'development' ]; then
|
||||||
# Make sure to do this before starting the build since watch mode
|
# Make sure to do this before starting the build since watch mode
|
||||||
# will block
|
# will block
|
||||||
WEBPACK_ARGS="$WEBPACK_ARGS --watch"
|
WEBPACK_ARGS="$WEBPACK_ARGS --watch"
|
||||||
|
if [ "$OSTYPE" == "msys" ]; then
|
||||||
|
// Ensure symlinks are created as native Windows symlinks.
|
||||||
export MSYS=winsymlinks:nativestrict
|
export MSYS=winsymlinks:nativestrict
|
||||||
|
fi
|
||||||
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
|
ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue