Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions projects/github.com/maxbrunsfeld/counterfeiter/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
distributable:
url: https://github.com/maxbrunsfeld/counterfeiter/archive/v{{version}}.tar.gz
strip-components: 1

versions:
github: maxbrunsfeld/counterfeiter

runtime:
env:
GOROOT: "{{deps.go.dev.prefix}}"

dependencies:
go.dev: '*'

build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
go.dev: '*'
script: go build $ARGS
env:
ARGS:
- -trimpath
- -o={{prefix}}/bin/counterfeiter

provides:
- bin/counterfeiter

test:
dependencies:
go.dev: '*'
env:
GOROOT: "{{deps.go.dev.prefix}}"
script: |
counterfeiter -p os 2>&1
test -e osshim
Comment on lines +29 to +36
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this really require go to pass its tests, but doesn't require go to run otherwise?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right, it's my mistake. Added dependency and env in last commit