diff --git a/.gitignore b/.gitignore index f7f5baa..0c56cd8 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ parts prime snap +!snapcraft.yaml !snap/snapcraft.yaml stage *.snap diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..718de57 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,24 @@ +version: master +version-script: git -C parts/cointop/build rev-parse --short HEAD +summary: Interactive terminal based UI application for tracking cryptocurrencies +description: | + cointop is a fast and lightweight interactive terminal based UI application for tracking and monitoring cryptocurrency coin stats in real-time. +grade: stable +confinement: strict + +parts: + go: + source-tag: go1.12 + cointop: + after: [go] + source: . + plugin: go + go-importpath: github.com/miguelmota/cointop + +apps: + cointop: + command: cointop + plugs: + - network + - network-bind + - home