Skip to content

Commit f537468

Browse files
committed
chore(prt-rollups): add convenient just targets to run test from root
1 parent 7433512 commit f537468

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

justfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,18 @@ build-release-rust-workspace *ARGS: bind
4545

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

48-
49-
5048
build-docker-image TAG="dave:dev":
5149
docker build -f test/Dockerfile -t {{TAG}} .
5250

5351
run-dockered +CMD: build-docker-image
54-
docker run -it dave:dev {{CMD}}
55-
52+
docker run -it --rm --name dave-node dave:dev {{CMD}}
53+
exec-dockered +CMD:
54+
docker exec dave-node {{CMD}}
55+
56+
test-rollups-echo:
57+
just -f ./prt/tests/rollups/justfile test-echo
58+
view-rollups-echo:
59+
just -f ./prt/tests/rollups/justfile read-node-logs
5660

5761
hello:
5862
echo $(echo "Hello")

0 commit comments

Comments
 (0)