Mercurial > yakumo_izuru > aya
annotate vendor/github.com/alecthomas/chroma/v2/Makefile @ 66:787b5ee0289d draft
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
| author | yakumo.izuru |
|---|---|
| date | Sun, 23 Jul 2023 13:18:53 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
| 66 | 1 .PHONY: chromad upload all |
| 2 | |
| 3 VERSION ?= $(shell git describe --tags --dirty --always) | |
| 4 | |
| 5 all: README.md tokentype_string.go | |
| 6 | |
| 7 README.md: lexers/*/*.go | |
| 8 ./table.py | |
| 9 | |
| 10 tokentype_string.go: types.go | |
| 11 go generate | |
| 12 | |
| 13 chromad: | |
| 14 rm -f chromad | |
| 15 (export CGOENABLED=0 GOOS=linux GOARCH=amd64; cd ./cmd/chromad && go build -ldflags="-X 'main.version=$(VERSION)'" -o ../../chromad .) | |
| 16 | |
| 17 upload: chromad | |
| 18 scp chromad root@swapoff.org: && \ | |
| 19 ssh root@swapoff.org 'install -m755 ./chromad /srv/http/swapoff.org/bin && service chromad restart' |
