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
| | image: archlinux
oauth: pages.sr.ht/PAGES:RW
packages:
- gcc
- make
- hut
- clang
- texinfo
- clojure
- rlwrap
environment:
site: o-lang.org
sources:
- https://git.sr.ht/~johnnyrichard/olang
tasks:
- format: |
cd olang
make format
- build: |
cd olang
make
make docs-dist
- check: |
cd olang
make check
- check-spec: |
cd olang
./contrib/bin/run-ebnf <(find tests/olc/ -name '*.ol' | xargs -L1 grep -Ev '(^#|^$)' | cat) 1> /dev/null
- docs-publish: |
cd olang
if [ "$BUILD_REASON" = "" ]
then
hut pages publish -d $site docs/site.tar.gz
fi
|