Stop right there!

git-svn-id: file:///srv/svn/repo/aya/trunk@95 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
shinyoukai
2025-12-07 20:33:01 +00:00
parent 050e315b61
commit dfad52be55
3 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
DATE ?= `date -u +%F`
GOOS ?= `${GO} env GOOS`
VERSION ?= 1.0H+${REV}
VERSION ?= 1.0I+${REV}
REV ?= `svn info --show-item revision || git rev-list --all | wc -l`
build:
${GO} build ${GOFLAGS} ./cmd/aya

View File

@@ -90,6 +90,10 @@ echo '</rss>' >> $AYA_OUTDIR/blog/rss.xml
```bash
#!/bin/sh
echo "# nick = example" > $AYA_OUTDIR/twtxt.txt
echo "# url = https://example.net/twtxt.txt" >> $AYA_OUTDIR/twtxt.txt
echo "# avatar = https://example.net/favicon.png" >> $AYA_OUTDIR/twtxt.txt
echo "# description = basudei datta watashitachi ni wa, deai ga umareta toki ni, hajimete no yume ga mieru" >> $AYA_OUTDIR/twtxt.txt
for f in ./blog/*/*.md; do
d=$($AYA var $f date)
if [ !-z $d ]; then

View File

@@ -1,3 +1,3 @@
#!/bin/sh
lessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css
clessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css