forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml.in
35 lines (31 loc) · 1.17 KB
/
snapcraft.yaml.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: gaia # you probably want to 'snapcraft register <name>'
# base: core18 # the base snap is the execution environment for this snap
version: '@VERSION@' # just for humans, typically '1.2+git' or '1.3.2'
summary: Gaia Daemon # 79 char long summary
description: |
This snap provides the Gaia daemon gaiad and the command line
tool gaiacli.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
apps:
gaiad:
command: bin/gaiad
plugs: [home,network,network-bind]
gaiacli:
command: bin/gaiacli
plugs: [home,network,network-bind]
parts:
gaia:
plugin: dump
source: ./
override-pull: |
echo "Installing files from $GOBIN ..."
# Use the following instructions to build a package from a release.
# wget https://github.com/cosmos/cosmos-sdk/archive/v@[email protected]
# tar xvf v@[email protected]
# rm v@[email protected]
build-snaps: [go]
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
cp $GOBIN/gaiad $SNAPCRAFT_PART_INSTALL/bin
cp $GOBIN/gaiacli $SNAPCRAFT_PART_INSTALL/bin