-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathJustfile
More file actions
51 lines (38 loc) · 859 Bytes
/
Justfile
File metadata and controls
51 lines (38 loc) · 859 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# And awayyyy we go!
#
set dotenv-load
set quiet
# List all recipes (_ == hidden recipe)
_default:
just --list
# Cat the Justfile
cat:
just --dump
# Upgrade dependencies
deps:
clojure -X:antq
# Checks (or formats) the source code
format action="check" files="":
clojure -M:format-{{ action }} {{ files }}
# Run tests
test:
bin/test
# Build the JAR
build:
bin/build
# Install the JAR to your local .m2 repository
install: build
bin/install
# Publish the JAR to Clojars
publish: build
bin/publish
# Build and publish the JAR to Clojars
all: build publish
# Install pre-commit (https://pre-commit.com/)
pre-commit-install:
pre-commit install
# Run pre-commit hooks (to verify at any point, not just on commit)
pre-commit-run hook-id="":
pre-commit run --all-files {{ hook-id }}
# vim: expandtab:ts=4:sw=4:ft=just