Skip to content

Commit 64aa7d1

Browse files
committed
Add justfile commands
1 parent 3bf458d commit 64aa7d1

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

justfile

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
docker_image := "reqlang-expr:0.7.0"
22

3-
# Build docker image for reqlang cli
3+
# List commands
4+
default:
5+
just --list
6+
7+
# Run tests
8+
test:
9+
cargo test
10+
11+
# Run tests with coverage enabled
12+
coverage:
13+
./coverage.sh
14+
15+
# Run the repl
16+
repl *args:
17+
./repl.sh {{args}}
18+
19+
# Build repl docker image
420
build-docker:
521
docker build -t {{docker_image}} .
622

7-
build-docker-no-cache:
8-
docker build --no-cache -t {{docker_image}} .
9-
10-
# Run docker image for reqlang cli
23+
# Run repl in built docker image
1124
run-docker *cli_args:
1225
docker run -it --rm --read-only {{docker_image}} {{cli_args}}

0 commit comments

Comments
 (0)