You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cointop/Makefile

104 lines
2.0 KiB
Makefile

aul:
@echo "no default"
run:
go run main.go
debug:
DEBUG=1 go run main.go
# http://macappstore.org/upx
6 years ago
build/mac: clean/mac
6 years ago
env GOARCH=amd64 go build -ldflags "-s -w" -o bin/macos/cointop && upx bin/macos/cointop
6 years ago
build/linux: clean/linux
6 years ago
env GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o bin/linux/cointop && upx bin/linux/cointop
6 years ago
6 years ago
build/multiple: clean
env GOARCH=amd64 go build -ldflags "-s -w" -o bin/cointop64 && upx bin/cointop64 && \
env GOARCH=386 go build -ldflags "-s -w" -o bin/cointop32 && upx bin/cointop32
6 years ago
clean/mac:
go clean && \
rm -rf bin/mac
clean/linux:
go clean && \
rm -rf bin/linux
clean:
go clean && \
6 years ago
rm -rf bin/
test:
go test ./...
6 years ago
cointop/test:
go run main.go -test
snap/clean:
snapcraft clean
6 years ago
rm -f cointop_*.snap
snap/stage:
snapcraft stage
snap/build: snap/clean snap/stage
snapcraft snap
snap/deploy:
snapcraft push cointop_*.snap --release stable
snap/remove:
snap remove cointop
6 years ago
flatpak/build:
flatpak-builder --force-clean build-dir com.github.miguelmota.Cointop.json
6 years ago
flatpak/run/test:
6 years ago
flatpak-builder --run build-dir com.github.miguelmota.Cointop.json cointop
flatpak/repo:
flatpak-builder --repo=repo --force-clean build-dir com.github.miguelmota.Cointop.json
6 years ago
flatpak/add:
flatpak --user remote-add --no-gpg-verify cointop-repo repo
flatpak/remove:
flatpak --user remote-delete cointop-repo
6 years ago
flatpak/install:
flatpak --user install cointop-repo com.github.miguelmota.Cointop
flatpak/run:
flatpak run com.github.miguelmota.Cointop
6 years ago
6 years ago
brew/clean: brew/remove
brew cleanup --force cointop
brew prune
brew/remove:
6 years ago
brew uninstall --force cointop
brew/build: brew/remove
brew install --build-from-source cointop.rb
6 years ago
brew/audit:
brew audit --strict cointop.rb
6 years ago
6 years ago
brew/test:
brew test cointop.rb
6 years ago
git/rm/large:
java -jar bfg.jar --strip-blobs-bigger-than 200K .
git/repack:
git reflog expire --expire=now --all
git fsck --full --unreachable
git repack -A -d
git gc --aggressive --prune=now
6 years ago
release:
rm -rf dist
goreleaser