makefile (338B)
1 SHELL=bash 2 3 # why use a makefile? Because it abstracts away the individual build systems: npm/cargo/go/yarn/gcc/clang/etc. 4 # this reduces the cost of trying out new languages 5 6 build: 7 cargo build --release 8 ./target/release/squiggle_rust 9 10 time: 11 time ./target/release/squiggle_rust 12 13 dev: 14 cargo run 15 16 rustc: 17 rustc ./src/main.rs 18 ./main 19