name: gaia # you probably want to 'snapcraft register ' # 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@VERSION@.tar.gz # tar xvf v@VERSION@.tar.gz # rm v@VERSION@.tar.gz 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