Typo fix and missed dependencies files.

This commit is contained in:
2021-01-08 12:00:38 +05:00
parent a2a21482e2
commit 7f04a9a7bb
25 changed files with 1355 additions and 10 deletions

19
vendor/github.com/alecthomas/chroma/Makefile generated vendored Normal file
View File

@@ -0,0 +1,19 @@
.PHONY: chromad upload all
all: README.md tokentype_string.go
README.md: lexers/*/*.go
./table.py
tokentype_string.go: types.go
go generate
chromad:
(cd ./cmd/chromad && go get github.com/GeertJohan/go.rice/rice@master && go install github.com/GeertJohan/go.rice/rice)
rm -f chromad
(export CGOENABLED=0 GOOS=linux ; cd ./cmd/chromad && go build -o ../../chromad .)
rice append -i ./cmd/chromad --exec=./chromad
upload: chromad
scp chromad root@swapoff.org: && \
ssh root@swapoff.org 'install -m755 ./chromad /srv/http/swapoff.org/bin && service chromad restart'