Skip to content

Commit

Permalink
fixup! fixup! refactor(build): Port PHONY make targets to just
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jul 23, 2024
1 parent 7b5a071 commit 21c1d4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import 'build-aux/que.just'

import 'build-aux/que_rust_boilerplate.just'

[group('test')]
test:
make test

lint:
[group('lint')]
lint: lint-rust
echo from parent lint

# vim: set ft=just
3 changes: 2 additions & 1 deletion build-aux/que.just
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
set allow-duplicate-recipes
set allow-duplicate-variables
set shell := ["zsh", "-cu"]
lints := "foo"
7 changes: 5 additions & 2 deletions build-aux/que_rust_boilerplate.just
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
lint: lint-rust

[group('rust')]
[group('lint')]
lint-rust: rustfmt
echo from rust lint

lints := lints + "lint-rust"

[group('rust')]
rustfmt:

0 comments on commit 21c1d4f

Please sign in to comment.