Changeset 89 in code
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r87 r89 1 1 DESTDIR ?= 2 GOFLAGS ?= -v -buildvcs=false -mod=vendor -buildmode=exe -ldflags "-w -X `go list`.Date=${DATE} -X `go list`.Vendor=${GOOS} -X `go list`.Version=${VERSION}" 2 GO ?= go 3 GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${GOOS} -X `${GO} list`.Version=${VERSION}" 3 4 PREFIX ?= /usr/local 4 5 DATE ?= `date -u +%F` 5 GOOS ?= ` goenv GOOS`6 VERSION ?= `git describe --tags`6 GOOS ?= `${GO} env GOOS` 7 VERSION ?= 1.0F 7 8 build: 8 gobuild ${GOFLAGS} ./cmd/aya9 ${GO} build ${GOFLAGS} ./cmd/aya 9 10 clean: 10 11 rm -f aya -
trunk/README.md
r87 r89 18 18 Build it manually provided you have Go (>=1.17) installed: 19 19 20 $ go install ma risa.chaotic.ninja/aya/cmd/aya@latest (1)20 $ go install mahou-no-mori.yakumo.dev/aya/cmd/aya@latest (1) 21 21 --- or --- 22 $ git clone https://git. chaotic.ninja/yakumo_izuru/aya22 $ git clone https://git.yakumo.dev/yakumo.izuru/aya 23 23 $ cd aya 24 24 $ make … … 85 85 title=`$AYA var $f title | tr A-Z a-z` 86 86 descr=`$AYA var $f description` 87 echo $timestamp "<item><title>$title</title><link>https://technicalmarisa. chaotic.ninja/blog/$url</link><description>$descr</description><pubDate>$(gdate --date @$timestamp -R)</pubDate><guid>http://technicalmarisa.chaotic.ninja/blog/$url</guid></item>"87 echo $timestamp "<item><title>$title</title><link>https://technicalmarisa.yakumo.dev/blog/$url</link><description>$descr</description><pubDate>$(gdate --date @$timestamp -R)</pubDate><guid>http://technicalmarisa.yakumo.dev/blog/$url</guid></item>" 88 88 fi 89 89 done | sort -r -n | cut -d' ' -f2- >> $AYA_OUTDIR/blog/rss.xml … … 105 105 The software is distributed under the [MIT/X11](LICENSE) license. 106 106 107 ## Sites using Aya!108 (I know, I made the majority of them, but they still count)109 110 | Title | Author | Link |111 |------------------------|--------------------------------------------------|---------------------------------------|112 | Aya (project homepage) | Izuru Yakumo | https://aya.chaotic.ninja |113 | Chaotic Ninja | Izuru Yakumo, Mima-sama | https://chaotic.ninja |114 | Geidontei | Izuru Yakumo | https://geidontei.chaotic.ninja |115 | ChaoticIRC Network | Izuru Yakumo | https://im.chaotic.ninja |116 | Kanako | Izuru Yakumo | https://kanako.chaotic.ninja |117 | Kill-9 The Revival | Various authors | https://kill-9.chaotic.ninja |118 | PXIMG(7) | Izuru Yakumo | https://pximg.chaotic.ninja |119 | Shinmyoumaru | Mima-sama | https://shinmyoumaru.chaotic.ninja |120 | Suika | Izuru Yakumo | https://suika.chaotic.ninja |121 | TechnicalMarisa | Izuru Yakumo | https://technicalmarisa.chaotic.ninja |122 | Tengu Space | [DeviousTengu](https://fedi.tengu.space/devious) | https://tengu.space |123 | WindowMaker Shrine | Izuru Yakumo | https://themes.chaotic.ninja |124 125 107 --- 126 108 -
trunk/cmd/aya/main.go
r85 r89 1 // $TheSupernovaDuo: marisa.chaotic.ninja/aya/cmd/aya, v1.0.1 2023-12-12 14:27:02+0000, yakumo_izuru Exp $2 1 package main 3 2 … … 8 7 "strings" 9 8 10 "ma risa.chaotic.ninja/aya"9 "mahou-no-mori.yakumo.dev/aya" 11 10 ) 12 11 … … 74 73 } 75 74 case "version": 76 aya.PrintVersion()75 fmt.Println(aya.PrintVersion()) 77 76 os.Exit(0) 78 77 case "watch": -
trunk/go.mod
r75 r89 1 module ma risa.chaotic.ninja/aya1 module mahou-no-mori.yakumo.dev/aya 2 2 3 3 go 1.17 -
trunk/serve.go
r84 r89 1 // Taken from https://github.com/fogleman/serve and repurposed as a library 1 /* The following code has been taken from https://github.com/fogleman/serve and it is used on this project as a library */ 2 /* Attribution goes to its original author */ 2 3 package aya 3 4 -
trunk/usage.go
r84 r89 8 8 func PrintUsage() { 9 9 fmt.Printf("aya/%v\n", PrintFullVersion()) 10 fmt.Println("Homepage: https:// aya.chaotic.ninja")11 fmt.Println("Repository: https:// git.chaotic.ninja/usr/yakumo_izuru/aya")10 fmt.Println("Homepage: https://suzunaan.yakumo.dev/aya/") 11 fmt.Println("Repository: https://svn.yakumo.dev/yakumo.izuru/aya") 12 12 fmt.Println("==") 13 13 fmt.Println("build [file] · (Re)build a site or a file in particular")
Note:
See TracChangeset
for help on using the changeset viewer.