-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathjustfile
More file actions
45 lines (30 loc) · 767 Bytes
/
justfile
File metadata and controls
45 lines (30 loc) · 767 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
ROOT_DIR := justfile_directory()
default: testdebug
testdebug:
swift test
test: clean testdebug clean testprod
testprod:
swift test -c release -Xswiftc -enable-testing
rmsubmod:
rm -rf "$(ROOT_DIR)Sources/secp256k1/libsecp256k1"
clean:
rm -rf .build
rm -rf scripts/update-libsecp/.build
purge: rmsubmod clean
submodules: ## Update all submodules .
git submodule update --init
init: purge submodules
typos:
typos -w
bootstrap:
./scripts/bootstrap
dev: bootstrap init
format:
swiftformat --config .swiftformat "{{ROOT_DIR}}"
gyb:
./scripts/generate_boilerplate_files_with_gyb.sh
bump-dep dryRun="false":
swift run \
--package-path scripts/update-libsecp \
update-libsecp \
{{ if dryRun == "true" { "--dry-run" } else { "" } }}