From 874115df4646fd83b91e7eaf7c1dd7d454636da8 Mon Sep 17 00:00:00 2001 From: marktoda Date: Mon, 20 Nov 2023 14:08:11 -0500 Subject: [PATCH] feat: update justfile with custom solc (#418) For folks who dont want to update their global env they can use `just test` or `just build` which sets solc using cli arg --- justfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/justfile b/justfile index 52fcbe4ca..4bb54a43a 100644 --- a/justfile +++ b/justfile @@ -1,15 +1,13 @@ +solc_file := if os() == "macos" { "./bin/solc-mac" } else { "./bin/solc-static-linux" } + test: test-forge prep: fix snapshots -snapshots: snapshots-forge test-forge: install-forge build-forge - forge test + forge test --use {{ solc_file }} build-forge: install-forge - forge build - -snapshots-forge: install-forge test-forge - FOUNDRY_FUZZ_SEED=0x4444 forge snapshot + forge build --use {{ solc_file }} install-forge: forge install