Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2320b29

Browse files
committed
add an option to build on windows
Signed-off-by: argemiront <argemiront@gmail.com>
1 parenta0cb71d commit2320b29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎scripts/build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@ tsc -p ./
1414
cd web-app
1515
npm run build
1616
cd ..
17+
18+
# For Windows build: switch the next 2 lines
19+
if [["$OSTYPE"=="msys" ]];then
20+
echo"linux subsystem on windows selected"
21+
cp -R ./web-app/build/ ./
22+
else
23+
echo"Unix system selected"
1724
cp -R ./web-app/build/ ./build/
25+
fi
26+
1827
node scripts/fixFontPaths.js
1928

2029
echo"Build complete!"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp