Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Feb 13, 2024
1 parent f5cbb27 commit d18d173
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,19 @@ yarn gulp compile-build &&
yarn gulp compile-extension-media &&
yarn gulp compile-extensions-build &&
yarn gulp minify-vscode &&
yarn gulp vscode-linux-x64-min-ci &&
#yarn gulp vscode-linux-x64-build-deb
yarn gulp vscode-linux-x64-min-ci
}
case $1 in
--linux) buildLinux; exit 0;;
esac

distLinux () {
yarn gulp vscode-linux-x64-build-deb
}
case $1 in
--dist-linux) buildLinux; distLinux; exit 0;;
esac

buildWin () {
# Set msvs_version for node-gyp on Windows
export MSVS_VERSION="2022" &&
Expand Down Expand Up @@ -121,13 +127,17 @@ yarn gulp compile-build &&
yarn gulp compile-extension-media &&
yarn gulp compile-extensions-build &&
yarn gulp minify-vscode &&
yarn gulp vscode-win32-x64-min-ci &&
#yarn gulp vscode-win32-x64-inno-updater &&
#yarn gulp vscode-win32-x64-system-setup &&
#yarn gulp vscode-win32-x64-user-setup
yarn gulp vscode-win32-x64-min-ci
}
case $1 in
--win) buildWin; exit 0;;
esac

exit 0
distWin () {
yarn gulp vscode-win32-x64-inno-updater &&
yarn gulp vscode-win32-x64-system-setup &&
yarn gulp vscode-win32-x64-user-setup
}
case $1 in
--dist-win) buildWin; distWin; exit 0;;
esac

0 comments on commit d18d173

Please sign in to comment.