Add PowerShell ExecutionPolicy in build.sh

This commit is contained in:
Babil Golam Sarwar 2018-05-16 10:17:17 +10:00
parent dbeab7deb3
commit 6017fb5efe

View file

@ -41,7 +41,11 @@ nearleyc src/grammars/bracketexpr.ne \
> src/grammars/.bracketexpr.generated.ts
if [ "$(isWindowsMinGW)" == "True" ]; then
powershell native/win_install.ps1 -DebugDirBase native
powershell \
-NoProfile \
-InputFormat None \
-ExecutionPolicy Bypass \
native/win_install.ps1 -DebugDirBase native
else
native/install.sh local
fi