SimpleHelperTools/compile.sh

32 lines
No EOL
656 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
dart compile exe -o out/regedit-linux-x64 bin/regedit.dart
cd ..
cd cpp
mkdir build
cd build
cmake ..
make
cd ../..