Add starter snapcraft configuration
Contains a few leftover TODOs, the build version one is the most problematic due to the go plugin having no current support for adding ldflags
This commit is contained in:
parent
3f1b8a4c2a
commit
06e5c0bf2f
1 changed files with 25 additions and 0 deletions
25
snap/snapcraft.yaml
Normal file
25
snap/snapcraft.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: rove # Nn-registered, use `snap register`
|
||||||
|
base: core20
|
||||||
|
version: '0.1' # TODO: Set this up programatically
|
||||||
|
summary: An asynchronous nomadic game about exploring as part of a loose community.
|
||||||
|
# TODO: Add more to the description
|
||||||
|
description: |
|
||||||
|
An asynchronous nomadic game about exploring as part of a loose community.
|
||||||
|
grade: devel # Upgrade to 'stable' when ready
|
||||||
|
confinement: strict
|
||||||
|
|
||||||
|
apps:
|
||||||
|
rove:
|
||||||
|
command: bin/rove
|
||||||
|
plugs:
|
||||||
|
- network # Needed for access to hosted servers
|
||||||
|
|
||||||
|
parts:
|
||||||
|
go-rove:
|
||||||
|
plugin: go
|
||||||
|
source-type: local
|
||||||
|
source: .
|
||||||
|
build-packages:
|
||||||
|
- gcc-multilib
|
||||||
|
# TODO: Add version somehow
|
||||||
|
# TODO: Only build cmd/rove with 'go-buildtags'
|
Loading…
Add table
Reference in a new issue