tangled
alpha
login
or
join now
zzstoatzz.io
/
zat
1
fork
atom
atproto tools in zig
zat.dev
sdk
atproto
zig
1
fork
atom
overview
issues
pulls
pipelines
add justfile and contributing docs
zzstoatzz.io
2 months ago
1487fa3d
5e7379eb
2/2
ci.yml
success
5s
deploy-docs.yml
success
6s
+32
2 changed files
expand all
collapse all
unified
split
CONTRIBUTING.md
justfile
+15
CONTRIBUTING.md
···
1
1
+
# contributing
2
2
+
3
3
+
## before committing
4
4
+
5
5
+
```sh
6
6
+
just fmt
7
7
+
```
8
8
+
9
9
+
or without just:
10
10
+
11
11
+
```sh
12
12
+
zig fmt .
13
13
+
```
14
14
+
15
15
+
CI runs `zig fmt --check .` and will fail on unformatted code.
+17
justfile
···
1
1
+
# zat
2
2
+
3
3
+
# show available commands
4
4
+
default:
5
5
+
@just --list
6
6
+
7
7
+
# format code
8
8
+
fmt:
9
9
+
zig fmt .
10
10
+
11
11
+
# check formatting (CI)
12
12
+
check:
13
13
+
zig fmt --check .
14
14
+
15
15
+
# run tests
16
16
+
test:
17
17
+
zig build test