Update meta.yaml file
{% set version = "0.0.5" %}
{% set name = import_path.split('/')[-1] %}
-{% set pkg_src = ('src/'+import_path).replace("/", "\\" if win else "/") %}
+{% set pkg_src = ('src/'+import_path).replace('etcd-io',
+ 'coreos').replace("/", "\\" if win else "/") %}
package:
name: {{ name|lower }}
@@ -15,18 +16,21 @@ source:
build:
number: 0
+ script:
+ - pushd {{ pkg_src }}
+ - go install -v
+ -ldflags "-w -X $REPO_PATH/version.Version=$VERSION -X $REPO_PATH/version.SHA=$SHA"
+ ./cmd/...
requirements:
build:
- {{ compiler("go") }}
- - git
test:
commands:
- - zkctl --help # [not win]
- - which zetcd # [not win]
-
-
+ - zkctl --help
+ - zkboom --help
+ - zetcd --help
about:
home: https://github.com/etcd-io/zetcd
