From 7da6d07969e9eaf9daeb67f45523118434831508 Mon Sep 17 00:00:00 2001 From: Quantum3Labs <157618676+0xquantum3labs@users.noreply.github.com> Date: Sun, 7 Apr 2024 18:25:44 +0800 Subject: [PATCH] Remove bash (#34) * updadte json script * remove bash scripts --- packages/snfoundry/bash/run-devnet.sh | 2 -- packages/snfoundry/package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100755 packages/snfoundry/bash/run-devnet.sh diff --git a/packages/snfoundry/bash/run-devnet.sh b/packages/snfoundry/bash/run-devnet.sh deleted file mode 100755 index 04cd4f35..00000000 --- a/packages/snfoundry/bash/run-devnet.sh +++ /dev/null @@ -1,2 +0,0 @@ -cd .. && cd local-devnet -cargo run -- --seed 0 --account-class cairo1 \ No newline at end of file diff --git a/packages/snfoundry/package.json b/packages/snfoundry/package.json index fe02baa9..181fdd0b 100644 --- a/packages/snfoundry/package.json +++ b/packages/snfoundry/package.json @@ -2,7 +2,7 @@ "name": "@ss-2/snfoundry", "version": "0.0.1", "scripts": { - "chain": "cd bash && ./run-devnet.sh", + "chain": "cd local-devnet && cargo run -- --seed 0 --account-class cairo1", "deploy": "node scripts_js/helpers/deploy-wrapper.js", "prev-deploy": "scarb build && node scripts_js/deploy.js ${1} > ./scripts_js/deployOutput.txt && node ./scripts_js/parseDeployOutput.js", "bare-deploy": "scripts_js/deploy.js"