diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..21748df --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +.PHONY: debug release run run-release macos clean + +debug: + zig build + +run: + zig build run + +release: + zig build -Doptimize=ReleaseFast + +run-release: + zig build -Doptimize=ReleaseFast run + +macos: release + cp -r templates/macos-app/DepartureBoard.app zig-out/ + cp zig-out/bin/raylib-test zig-out/DepartureBoard.app/Contents/MacOS/DepartureBoard + +clean: + rm -r zig-out diff --git a/templates/macos-app/DepartureBoard.app/Contents/Info.plist b/templates/macos-app/DepartureBoard.app/Contents/Info.plist new file mode 100644 index 0000000..608a393 --- /dev/null +++ b/templates/macos-app/DepartureBoard.app/Contents/Info.plist @@ -0,0 +1,14 @@ + + + + + CFBundleExecutable + ExecutableFileName + CFBundleIconFile + AppIcon + CFBundleIdentifier + ro.dcdev.departure_board_zig + CFBundleExecutable + DepartureBoard + + diff --git a/templates/macos-app/DepartureBoard.app/Contents/MacOS/.gitkeep b/templates/macos-app/DepartureBoard.app/Contents/MacOS/.gitkeep new file mode 100644 index 0000000..e69de29