default: build all: test test: build cargo test build: $(MAKE) -C ../token || break; $(MAKE) -C ../pair || break; $(MAKE) -C ../factory || break; cp ../pair/target/wasm32-unknown-unknown/release/soroswap_pair.wasm ./src # Copy pair wasm to library root cargo build --target wasm32-unknown-unknown --release soroban contract optimize --wasm target/wasm32-unknown-unknown/release/soroswap_library.wasm @ls -l target/wasm32-unknown-unknown/release/*.wasm fmt: cargo fmt --all --check clean: cargo clean