Skip to content

Commit 2889c4d

Browse files
committed
refactor(build): Port PHONY make targets to just
1 parent 462bd03 commit 2889c4d

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

Justfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import 'build-aux/que.just'
2+
import 'build-aux/que_rust_boilerplate.just'
3+
4+
[group('test')]
5+
test:
6+
make test
7+
8+
[group('lint')]
9+
lint: lint-rust
10+
echo from parent lint
11+
12+
# vim: set ft=just

build-aux/que.just

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
set allow-duplicate-variables
2+
set shell := ["zsh", "-cu"]
3+
lints := "foo"

build-aux/que_rust_boilerplate.just

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[group('rust')]
2+
[group('lint')]
3+
lint-rust: rustfmt
4+
echo from rust lint
5+
6+
lints := lints + "lint-rust"
7+
8+
[group('rust')]
9+
rustfmt:
10+

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QUE_DIST_CHECKSUMS
1414

1515
AM_COND_IF([DEVELOPER_MODE], [
1616
QUE_PROGVAR([gitcliff], [git-cliff])
17+
QUE_PROGVAR([just], [just])
1718
QUE_PROGVAR([typos], [typos])
1819
])
1920

0 commit comments

Comments
 (0)