SimpleHelperTools/compile.sh
2025-01-24 07:57:46 -07:00

34 lines
712 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/gch-linux-x64 bin/ch.dart
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
dart compile exe -o out/timestamp-linux-x64 bin/timestamp.dart
cd ..
cd cpp
mkdir build
cd build
cmake ..
make
cd ../..