Skip to content

Commit

Permalink
build: Add justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sudormrfbin committed Apr 1, 2021
1 parent 864c8e5 commit 36d27d5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# vim: ft=make

install:
cargo build --release
cp {{justfile_directory()}}/target/release/pac ~/.local/bin/

test:
cargo test

@lint:
echo Checking for long lines...
! grep --color -En '.{101}' src/**/*.rs
echo Checking for FIXME/TODO...
grep --color -Ein 'fixme|todo|xxx|#\[ignore\]' src/**/*.rs

0 comments on commit 36d27d5

Please sign in to comment.