Changeset 89 in code


Ignore:
Timestamp:
Apr 17, 2025, 2:06:12 PM (7 weeks ago)
Author:
Izuru Yakumo
Message:

風神「嵐の日」

Location:
trunk
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r87 r89  
    11DESTDIR ?=
    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}"
     2GO ?= go
     3GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${GOOS} -X `${GO} list`.Version=${VERSION}"
    34PREFIX ?= /usr/local
    45DATE ?= `date -u +%F`
    5 GOOS ?= `go env GOOS`
    6 VERSION ?= `git describe --tags`
     6GOOS ?= `${GO} env GOOS`
     7VERSION ?= 1.0F
    78build:
    8         go build ${GOFLAGS} ./cmd/aya
     9        ${GO} build ${GOFLAGS} ./cmd/aya
    910clean:
    1011        rm -f aya
  • trunk/README.md

    r87 r89  
    1818Build it manually provided you have Go (>=1.17) installed:
    1919
    20         $ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1)
     20        $ go install mahou-no-mori.yakumo.dev/aya/cmd/aya@latest (1)
    2121        --- or ---
    22         $ git clone https://git.chaotic.ninja/yakumo_izuru/aya
     22        $ git clone https://git.yakumo.dev/yakumo.izuru/aya
    2323        $ cd aya
    2424        $ make
     
    8585        title=`$AYA var $f title | tr A-Z a-z`
    8686        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>"
    8888    fi
    8989done | sort -r -n | cut -d' ' -f2- >> $AYA_OUTDIR/blog/rss.xml
     
    105105The software is distributed under the [MIT/X11](LICENSE) license.
    106106
    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 
    125107---
    126108
  • 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 $
    21package main
    32
     
    87        "strings"
    98
    10         "marisa.chaotic.ninja/aya"
     9        "mahou-no-mori.yakumo.dev/aya"
    1110)
    1211
     
    7473                }
    7574        case "version":
    76                 aya.PrintVersion()
     75                fmt.Println(aya.PrintVersion())
    7776                os.Exit(0)
    7877        case "watch":
  • trunk/go.mod

    r75 r89  
    1 module marisa.chaotic.ninja/aya
     1module mahou-no-mori.yakumo.dev/aya
    22
    33go 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 */
    23package aya
    34
  • trunk/usage.go

    r84 r89  
    88func PrintUsage() {
    99        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")
    1212        fmt.Println("==")
    1313        fmt.Println("build [file] · (Re)build a site or a file in particular")
Note: See TracChangeset for help on using the changeset viewer.