Skip to content

Commit

Permalink
Add just setup to web5 script (etro-js#264)
Browse files Browse the repository at this point in the history
* Add just setup to web5 script

* Add hermit activation in just setup
  • Loading branch information
KendallWeihe authored Jul 15, 2024
1 parent 205dcc9 commit 70199ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set shell := ["bash", "-uc"]
# Setup local development environment
setup:
#!/bin/bash
source bin/activate-hermit
git submodule update --init --recursive
if [[ "$(cargo 2>&1)" == *"rustup could not choose a version of cargo to run"* ]]; then
rustup default 1.78.0
Expand Down
1 change: 1 addition & 0 deletions web5
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

just setup
cargo build -p web5_cli > /dev/null 2>&1
cp ./target/debug/web5_cli ./target/debug/web5
./target/debug/web5 "$@"

0 comments on commit 70199ba

Please sign in to comment.