···11builder := 'go build -ldflags "-s -w"'
22testConfig := '"test.toml"'
3344+dev:
55+ if [[ ! -f {{testConfig}} ]]; then go run ./cmd/lasad/ gen-config -c {{testConfig}}; fi
66+ go run ./cmd/lasad/ -c {{testConfig}}
77+48build: build-lasa build-lasad
59610build-lasa:
···1014build-lasad:
1115 {{builder}} -o build/lasad ./cmd/lasad/
1216 just build-doc lasad
1313-1414-test:
1515- if [[ ! -f {{testConfig}} ]]; then go run ./cmd/lasad/ gen-config -c {{testConfig}}; fi
1616- go run ./cmd/lasad/ -c {{testConfig}}
17171818build-doc file:
1919 scdoc < {{file}}.1.scd > build/{{file}}.1
2020+2121+install: build
2222+ mv build/lasa /usr/local/bin/
2323+ mv build/lasad /usr/local/bin/
2424+ mkdir -p /usr/local/man/man1
2525+ mv build/lasa.1 /usr/local/man/man1/
2626+ mv build/lasad.1 /usr/local/man/man1/
+5-1
lasa.1.scd
···10101111*lasa* [*-h*] rss _identifier_ _rkey_
12121313+*lasa* [*-h*] atom _identifier_ _rkey_
1414+1315# DESCRIPTION
14161517*lasa publication* displays information for a Standard.site publication.
16181717-*lasa rss* renders the RSS feed for the given RSS feed.
1919+*lasa rss* renders the RSS feed for the given publication.
2020+2121+*lasa atom* renders the Atom feed for the given publication.
18221923# OPTIONS
2024