-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds rudimentary build script for windows machine
- Loading branch information
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
python3 build_image.py -copyDestination "C:\Users\draqu\Google Drive\Permanent_Share\PolyGlotBetas" -java-home-o "C:\Program Files\Java\jdk-17" | ||
echo off | ||
git pull | ||
|
||
:: build local | ||
python3 build_image.py -copyDestination "C:\Users\draqu\Google Drive\Permanent_Share\PolyGlotBetas" -java-home-o "C:\Program Files\Java\jdk-17" %1 %2 %3 %4 | ||
|
||
vmrun start "C:\Users\draqu\OneDrive\Documents\Virtual Machines\Ubuntu_22_PolyGlot\Ubuntu_22_PolyGlot.vmx" | ||
|
||
echo "Waiting 25 seconds before running Linux build... | ||
timeout /t 25 | ||
echo "Initiating Linux build... | ||
|
||
:: build virtual | ||
vmrun -gu polyglot -gp polyglot runProgramInGuest "C:\Users\draqu\OneDrive\Documents\Virtual Machines\Ubuntu_22_PolyGlot\Ubuntu_22_PolyGlot.vmx" -activeWindow "bin/sh" "/home/polyglot/JavaPojects/build.sh" | ||
|
||
:: provide build output | ||
type "C:\Users\draqu\Google Drive\Permanent_Share\PolyGlotBetas\out.log" | ||
del "C:\Users\draqu\Google Drive\Permanent_Share\PolyGlotBetas\out.log" | ||
|
||
:: Shutdown virtual | ||
vmrun stop "C:\Users\draqu\OneDrive\Documents\Virtual Machines\Ubuntu_22_PolyGlot\Ubuntu_22_PolyGlot.vmx" |