2024-08-30 20:54:20 -07:00
|
|
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
2024-08-30 20:59:46 -07:00
|
|
|
# Incase the environment was not cleaned up!
|
|
|
|
git clean -xfd
|
|
|
|
git reset --hard
|
|
|
|
|
2024-08-30 20:56:03 -07:00
|
|
|
cd dart
|
2024-08-30 20:54:20 -07:00
|
|
|
|
|
|
|
mkdir out
|
2024-08-30 20:57:01 -07:00
|
|
|
dart pub get
|
|
|
|
|
2024-08-30 20:54:20 -07:00
|
|
|
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
|
2024-08-30 23:15:36 -07:00
|
|
|
dart compile exe -o out/sleep-linux-x64 bin/sleep.dart
|
2024-08-31 02:34:17 -07:00
|
|
|
dart compile exe -o out/regedit-linux-x64 bin/regedit.dart
|
2024-08-30 20:54:20 -07:00
|
|
|
|
2024-08-30 20:56:03 -07:00
|
|
|
cd ..
|
2024-08-30 20:54:20 -07:00
|
|
|
|
2024-08-30 20:56:03 -07:00
|
|
|
cd cpp
|
2024-08-30 20:54:20 -07:00
|
|
|
|
|
|
|
mkdir build
|
2024-08-30 20:56:03 -07:00
|
|
|
cd build
|
2024-08-30 20:54:20 -07:00
|
|
|
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
|
2024-08-30 20:56:03 -07:00
|
|
|
cd ../..
|