SimpleHelperTools/compile.sh
2024-08-30 23:15:36 -07:00

31 lines
No EOL
597 B
Bash
Executable file

#!/bin/bash
# Incase the environment was not cleaned up!
git clean -xfd
git reset --hard
cd dart
mkdir out
dart pub get
dart compile exe -o out/dbikc-linux-x64 bin/dbikc.dart
dart compile exe -o out/mkfsreport-linux-x64 bin/mkfsreport.dart
dart compile exe -o out/nbt2snbt-linux-x64 bin/nbt2snbt.dart
dart compile exe -o out/snbt2nbt-linux-x64 bin/snbt2nbt.dart
dart compile exe -o out/uuidgen-linux-x64 bin/uuidgen.dart
dart compile exe -o out/pause-linux-x64 bin/pause.dart
dart compile exe -o out/sleep-linux-x64 bin/sleep.dart
cd ..
cd cpp
mkdir build
cd build
cmake ..
make
cd ../..