starmelon/starmelon-binary.do

15 lines
607 B
Text
Raw Normal View History

BINARY_PATH="../../target/release/starmelon"
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
if [ ! -f "$BINARY_PATH" ]; then
cargo build --release --color=always
else
ls -al "$BINARY_PATH" | redo-stamp
fi