Skip to content

Commit

Permalink
chore(prt-rollups): add convenient just targets to run test from root
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenctw committed Jan 19, 2025
1 parent 7433512 commit f537468
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,18 @@ build-release-rust-workspace *ARGS: bind

build: build-smart-contracts bind build-rust-workspace



build-docker-image TAG="dave:dev":
docker build -f test/Dockerfile -t {{TAG}} .

run-dockered +CMD: build-docker-image
docker run -it dave:dev {{CMD}}

docker run -it --rm --name dave-node dave:dev {{CMD}}
exec-dockered +CMD:
docker exec dave-node {{CMD}}

test-rollups-echo:
just -f ./prt/tests/rollups/justfile test-echo
view-rollups-echo:
just -f ./prt/tests/rollups/justfile read-node-logs

hello:
echo $(echo "Hello")

0 comments on commit f537468

Please sign in to comment.