We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065df38 commit 24b0dcdCopy full SHA for 24b0dcd
scripts/build.sh
@@ -14,9 +14,16 @@ tsc -p ./
14
cd web-app
15
npm run build
16
cd ..
17
+
18
# For Windows build: switch the next 2 lines
-# cp -R ./web-app/build/ ./
19
-cp -R ./web-app/build/ ./build
+if [[ "$OSTYPE" == "msys" ]]; then
20
+echo "linux subsystem on windows selected"
21
+cp -R ./web-app/build/ ./
22
+else
23
+echo "Unix system selected"
24
+cp -R ./web-app/build/ ./build/
25
+fi
26
27
node scripts/fixFontPaths.js
28
29
echo "Build complete!"
0 commit comments