From 9307af7e09530096eaf2647e630dd70cb9f2ee24 Mon Sep 17 00:00:00 2001 From: "yakumo.izuru" Date: Sun, 4 May 2025 02:19:10 +0000 Subject: [PATCH] Ayaya, why did I do that again? git-svn-id: file:///srv/svn/repo/aya/trunk@90 cec141ff-132a-4243-88a5-ce187bd62f94 --- LICENSE | 2 +- Makefile | 3 ++- aya.1 | 10 +++++++--- version.go | 4 ++-- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index 5b307bf..70e29d6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2014 Serge Zaitsev -Copyright (c) 2023 Izuru Yakumo +Copyright (c) 2023 Izuru Yakumo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 769353c..70a47ba 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ GOFLAGS ?= -v -buildvcs=false -buildmode=exe -ldflags "-w -X `${GO} list`.Date=$ PREFIX ?= /usr/local DATE ?= `date -u +%F` GOOS ?= `${GO} env GOOS` -VERSION ?= 1.0F +VERSION ?= 1.0F+${REV} +REV ?= `svn info --show-item revision || git rev-list --all | wc -l` build: ${GO} build ${GOFLAGS} ./cmd/aya clean: diff --git a/aya.1 b/aya.1 index 224edc3..5ec1b14 100644 --- a/aya.1 +++ b/aya.1 @@ -51,6 +51,7 @@ was forked from .Lk https://git.mills.io/prologic/zs due to disgust with how the project turned out to be. +.Pp Later on, features from the original program were reimplemented and it took a different path from both. @@ -76,12 +77,15 @@ see .Nm is maintained by .An Izuru Yakumo -.Aq Mt yakumo.izuru@chaotic.ninja +.Aq Mt eternal-servant@yakumo.dev .Pp .Nm zs was made by .An Serge Zaitsev .Aq Mt hello@zserge.com .Sh BUGS -If you find any, please report them to -.Aq Mt aya-dev@chaotic.ninja +Always seems to generate HTML5 no matter what +DOCTYPE you place in the layout file. +.Pp +This has to be a problem with +.Nm blackfriday diff --git a/version.go b/version.go index 73bcc5b..c23512a 100644 --- a/version.go +++ b/version.go @@ -13,8 +13,8 @@ var ( ) // PrintVersion only displays the obvious -func PrintVersion(){ - fmt.Printf("%s", Version) +func PrintVersion() string { + return fmt.Sprintf("%s", Version) } // PrintFullVersion display the full version and build