Stop right there!
git-svn-id: file:///srv/svn/repo/aya/trunk@95 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
2
Makefile
2
Makefile
@@ -6,7 +6,7 @@ BINDIR ?= ${PREFIX}/bin
|
|||||||
MANDIR ?= ${PREFIX}/man
|
MANDIR ?= ${PREFIX}/man
|
||||||
DATE ?= `date -u +%F`
|
DATE ?= `date -u +%F`
|
||||||
GOOS ?= `${GO} env GOOS`
|
GOOS ?= `${GO} env GOOS`
|
||||||
VERSION ?= 1.0H+${REV}
|
VERSION ?= 1.0I+${REV}
|
||||||
REV ?= `svn info --show-item revision || git rev-list --all | wc -l`
|
REV ?= `svn info --show-item revision || git rev-list --all | wc -l`
|
||||||
build:
|
build:
|
||||||
${GO} build ${GOFLAGS} ./cmd/aya
|
${GO} build ${GOFLAGS} ./cmd/aya
|
||||||
|
|||||||
@@ -90,6 +90,10 @@ echo '</rss>' >> $AYA_OUTDIR/blog/rss.xml
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/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
|
for f in ./blog/*/*.md; do
|
||||||
d=$($AYA var $f date)
|
d=$($AYA var $f date)
|
||||||
if [ !-z $d ]; then
|
if [ !-z $d ]; then
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
lessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css
|
clessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user