mirror of
https://github.com/charmbracelet/glow
synced 2024-11-10 06:04:18 +00:00
feat: snapcraft packages
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
4a94b87f49
commit
1f6e2ff187
1 changed files with 23 additions and 6 deletions
|
@ -3,9 +3,9 @@ env:
|
|||
- CGO_ENABLED=0
|
||||
before:
|
||||
hooks:
|
||||
- go mod download
|
||||
- go mod tidy
|
||||
builds:
|
||||
- id: "glow"
|
||||
-
|
||||
binary: glow
|
||||
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
|
||||
goos:
|
||||
|
@ -24,7 +24,7 @@ builds:
|
|||
- 7
|
||||
|
||||
archives:
|
||||
- id: default
|
||||
-
|
||||
builds:
|
||||
- glow
|
||||
format_overrides:
|
||||
|
@ -37,9 +37,7 @@ archives:
|
|||
amd64: x86_64
|
||||
|
||||
nfpms:
|
||||
- builds:
|
||||
- glow
|
||||
|
||||
-
|
||||
vendor: charmbracelet
|
||||
homepage: "https://charm.sh/"
|
||||
maintainer: "Christian Muehlhaeuser <muesli@gmail.com>"
|
||||
|
@ -63,6 +61,25 @@ brews:
|
|||
description: "Render markdown on the CLI"
|
||||
# skip_upload: true
|
||||
|
||||
snapcrafts:
|
||||
-
|
||||
name: glow
|
||||
publish: true
|
||||
summary: Render markdown on the CLI, with pizzazz!
|
||||
description: |
|
||||
Glow is a terminal based markdown reader designed from the ground up to bring out the beauty—and power—of the CLI.
|
||||
Use it to discover markdown files, read documentation directly on the command line and stash markdown files to your own private collection so you can read them anywhere. Glow will find local markdown files in subdirectories or a local Git repository.
|
||||
By the way, all data stashed is encrypted end-to-end: only you can decrypt it. More on that below.
|
||||
|
||||
grade: stable
|
||||
confinement: strict
|
||||
license: MIT
|
||||
base: core20
|
||||
|
||||
apps:
|
||||
glow:
|
||||
plugs: ["home", "network"]
|
||||
|
||||
signs:
|
||||
- artifacts: checksum
|
||||
|
||||
|
|
Loading…
Reference in a new issue