Skip to content

Commit dbf2935

Browse files
KamilTheEnderek0
authored andcommitted
build for linux shell script
1 parent 93a3e5d commit dbf2935

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

build_linux.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/bash
2+
3+
if [ -z "$1" ]; then
4+
executable="python3"
5+
else
6+
executable="$1"
7+
fi
8+
9+
echo Building ContentBuilder
10+
11+
$executable -m PyInstaller --distpath ./dist/ContentBuilder/ --workpath ./build/ -y ./ContentBuilder/ContentBuilder.spec
12+
cp -r ContentBuilder/bundle/* dist/ContentBuilder/
13+
chmod +x dist/ContentBuilder/ContentBuilder
14+
15+
echo Building DuplicateChecker
16+
17+
$executable -m PyInstaller --distpath ./dist/DuplicateChecker/ --workpath ./build/ -y ./DuplicateChecker/DuplicateChecker.spec
18+
cp -r DuplicateChecker/bundle/* dist/DuplicateChecker/
19+
chmod +x dist/DuplicateChecker/DuplicateChecker
20+
21+
$executable -m PyInstaller --distpath ./dist/MapCompiler/ --workpath ./build/ -y ./MapCompiler/MapCompiler.spec
22+
cp -r MapCompiler/bundle/* dist/MapCompiler/
23+
chmod +x dist/MapCompiler/MapCompiler
24+
25+
echo Build done!

0 commit comments

Comments
 (0)