diff --git a/TODO.MD b/TODO.MD index 94bd4d0..a637c0c 100644 --- a/TODO.MD +++ b/TODO.MD @@ -1,14 +1,4 @@ - Centered justification in UI +- Make web build +- Zoom sensitivity - Web read/write -- Ship with default setup -- Set grid -- Math evaluation field - -DONE: -- Fix -vet errors -- When there is no matrix it should still draw the rectangle -- Always show coordinates -- Web build -- Escape closes dialogue if on dialogue. Otherwise stops program if on desktop, but not without an unsaved changes warning. -- Set animation value -- Snap to grid option diff --git a/build_linux.sh b/build_desktop.sh similarity index 56% rename from build_linux.sh rename to build_desktop.sh index c744945..6bd7d99 100755 --- a/build_linux.sh +++ b/build_desktop.sh @@ -1,14 +1,16 @@ #!/bin/bash -eu EXE_NAME="Transformation Visualizer" -OUT_DIR="build/linux" +OUT_DIR="build/desktop" ASSETS_DIR="src/assets/" if [[ -v 1 ]]; then if [ "$1" = "DEBUG" ]; then ODIN_FLAGS="-debug" elif [ "$1" = "RELEASE" ]; then - ODIN_FLAGS="-o:speed -extra-linker-flags:\"-Wl,--gc-sections\"" + ODIN_FLAGS="-no-bounds-check -disable-assert -o:size -extra-linker-flags:\"-Wl,--gc-sections,-s\"" + elif [ "$1" = "TEST" ]; then + ODIN_FLAGS="-o:minimal -no-bounds-check -disable-assert -extra-linker-flags:\"-Wl,--gc-sections,-s\"" else echo "Usage: