diff --git a/projects/github.com/keith/zap/package.yml b/projects/github.com/keith/zap/package.yml new file mode 100644 index 00000000..2aad1942 --- /dev/null +++ b/projects/github.com/keith/zap/package.yml @@ -0,0 +1,17 @@ +distributable: + url: https://github.com/keith/zap/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: keith/zap/tags + +build: + script: | + mkdir -p "{{prefix}}"/bin + mv ./zap "{{prefix}}"/bin + +provides: + - bin/zap + +test: | + test "$(zap)" = "Usage: zap [-y] [appname]"