Skip to content

Commit

Permalink
Improve spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Mar 31, 2022
1 parent c90fcf9 commit fb83c27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor
uc
4 changes: 3 additions & 1 deletion common/uc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ Simple utility for counting unique lines.

%build
export GOPATH=$(pwd)
go build src/github.com/essentialkaos/%{name}/%{name}.go
pushd src/github.com/essentialkaos/%{name}
go build -mod vendor -o $GOPATH/%{name} %{name}.go
popd

%install
rm -rf %{buildroot}
Expand Down

0 comments on commit fb83c27

Please sign in to comment.