File: Justfile

package info (click to toggle)
rust-uutils-term-grid 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 180 kB
  • sloc: makefile: 4
file content (26 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
all: build test
all-release: build-release test-release

MIN_RUST := "1.31.0"


# compiles the code
build:
    cargo +{{MIN_RUST}} build
    cargo +stable       build

# compiles the code in release mode
build-release:
    cargo +{{MIN_RUST}} build --release --verbose
    cargo +stable       build --release --verbose


# runs unit tests
test:
    cargo +{{MIN_RUST}} test --all -- --quiet
    cargo +stable       test --all -- --quiet

# runs unit tests in release mode
test-release:
    cargo +{{MIN_RUST}} test --all --release --verbose
    cargo +stable       test --all --release --verbose