From 6017fb5efe1d3211780147c11c7239e61a54e76d Mon Sep 17 00:00:00 2001 From: Babil Golam Sarwar Date: Wed, 16 May 2018 10:17:17 +1000 Subject: [PATCH] Add PowerShell `ExecutionPolicy` in `build.sh` --- scripts/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index a40c8dbd..560366d4 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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