refactor move starmelon to infra/

This commit is contained in:
nobody 2024-05-02 15:37:22 -07:00
commit 180015bfcd
Signed by: GrocerPublishAgent
GPG key ID: D460CD54A9E3AB86
12 changed files with 15 additions and 808 deletions

View file

@ -1,14 +1,17 @@
BINARY_PATH="../../target/release/starmelon"
WORKSPACE_ROOT=$(readlink -f ../..)
redo-ifchange Cargo.toml
find src/ -type f | xargs redo-ifchange
find ../../../infra/rust-elmi/src -type f | xargs redo-ifchange
find ../../../infra/redwood-lang/compiler/naive-wadler-prettier/src -type f | xargs redo-ifchange
find ../../../infra/rust-elm-project-utils/src -type f | xargs redo-ifchange
find ../../../infra/genco-extra/src -type f | xargs redo-ifchange
find ../../../infra/livetable/core/src -type f | xargs redo-ifchange
find $WORKSPACE_ROOT/infra/rust-elmi/src -type f | xargs redo-ifchange
find $WORKSPACE_ROOT/infra/redwood-lang/compiler/naive-wadler-prettier/src -type f | xargs redo-ifchange
find $WORKSPACE_ROOT/infra/rust-elm-project-utils/src -type f | xargs redo-ifchange
find $WORKSPACE_ROOT/infra/genco-extra/src -type f | xargs redo-ifchange
find $WORKSPACE_ROOT/infra/livetable/core/src -type f | xargs redo-ifchange
if [ ! -f "$BINARY_PATH" ]; then
# I wanted to disable the jobserver to allow cargo to build in parallel
unset MAKEFLAGS
cargo build --release --color=always
else
ls -al "$BINARY_PATH" | redo-stamp