1 Star 0 Fork 0

KKDP/cosmos-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
snapcraft.yaml.in 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
Alessio Treglia 提交于 2019-01-31 09:59 . Autobuild snap (#3455)
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@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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/jjhoc/cosmos-sdk.git
git@gitee.com:jjhoc/cosmos-sdk.git
jjhoc
cosmos-sdk
cosmos-sdk
master

搜索帮助