forked from Sovereign-Engineering/obscuravpn-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
37 lines (28 loc) · 897 Bytes
/
justfile
File metadata and controls
37 lines (28 loc) · 897 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
# NOTE: Must be first recipe to be default
@_default:
just --list
@_check-in-obscura-nix-shell:
./contrib/bin/check-in-obscura-nix-shell.bash
# check formatting
format-check: _check-in-obscura-nix-shell
swiftformat --lint .
cd rustlib && cargo --offline fmt --check
./contrib/bin/nixfmt-auto-files.bash --check
# fix formatting
format-fix: _check-in-obscura-nix-shell
swiftformat .
cd rustlib && cargo --offline fmt
./contrib/bin/nixfmt-auto-files.bash
# lint checks
lint: _check-in-obscura-nix-shell
./contrib/bin/shellcheck-auto-files.bash
web-bundle-dir := "./obscura-ui/"
web-bundle-build:
just "{{web-bundle-dir}}"/build
web-bundle-start:
just "{{web-bundle-dir}}"/start
xcode-open:
open -a /Applications/Xcode.app apple/client.xcodeproj
# build notarized .dmg in current directory from APP
build-dmg: _check-in-obscura-nix-shell
./contrib/bin/build-obscuravpn-dmg.bash