mirror of
https://github.com/go-i2p/onramp.git
synced 2025-07-12 10:55:29 -04:00
29 lines
632 B
Makefile
29 lines
632 B
Makefile
|
|
USER_GH=go-i2p
|
|
VERSION=0.33.92
|
|
CREDIT='contributors to this release: @hkh4n, @eyedeekay'
|
|
packagename=onramp
|
|
|
|
echo: fmt
|
|
@echo "type make version to do release $(VERSION)"
|
|
|
|
version:
|
|
github-release release -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION) -d "version $(VERSION) $(CREDIT)"
|
|
|
|
del:
|
|
github-release delete -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION)
|
|
|
|
tar:
|
|
tar --exclude .git \
|
|
--exclude .go \
|
|
--exclude bin \
|
|
--exclude examples \
|
|
-cJvf ../$(packagename)_$(VERSION).orig.tar.xz .
|
|
|
|
link:
|
|
rm -f ../goSam
|
|
ln -sf . ../goSam
|
|
|
|
fmt:
|
|
find . -name '*.go' -exec gofmt -w -s {} \;
|