Stanislav N. aka pztrn
48d43ca097
Pagination now works. Temporary hardcoded 10 pastes per page, will be put in configuration later. Maybe. From now user will receive readable error message if error occured. Started to work on syntax highlighting, tried to make lexers detection work but apparently to no avail.
32 lines
648 B
YAML
32 lines
648 B
YAML
project_name: chroma
|
|
release:
|
|
github:
|
|
owner: alecthomas
|
|
name: chroma
|
|
brew:
|
|
install: bin.install "chroma"
|
|
builds:
|
|
- goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- "386"
|
|
goarm:
|
|
- "6"
|
|
main: ./cmd/chroma/main.go
|
|
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
|
binary: chroma
|
|
archive:
|
|
format: tar.gz
|
|
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{
|
|
.Arm }}{{ end }}'
|
|
files:
|
|
- COPYING
|
|
- README*
|
|
snapshot:
|
|
name_template: SNAPSHOT-{{ .Commit }}
|
|
checksum:
|
|
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
|