Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
Update packaging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Mar 10, 2019
1 parent 439343e commit 2be2572
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ install: $(shell find -name "*.go")
build-all: build-linux build-win

build-linux: $(shell find -name "*.go")
env GOOS=linux go build maunium.net/go/gopacked/cmd/gopacked -o gopacked
env GOOS=linux go build maunium.net/go/gopacked/cmd/twitchparse -o twitchparse
env GOOS=linux go build -o gopacked maunium.net/go/gopacked/cmd/gopacked
env GOOS=linux go build -o twitchparse maunium.net/go/gopacked/cmd/twitchparse

build-win: $(shell find -name "*.go")
env GOOS=windows go build maunium.net/go/gopacked/cmd/gopacked -o gopacked.exe
env GOOS=windows go build maunium.net/go/gopacked/cmd/twitchparse -o twitchparse.exe
env GOOS=windows go build -o gopacked.exe maunium.net/go/gopacked/cmd/gopacked
env GOOS=windows go build -o twitchparse.exe maunium.net/go/gopacked/cmd/twitchparse

build-macos: $(shell find -name "*.go")
env GOOS=darwin go build maunium.net/go/gopacked/cmd/gopacked -o gopacked
env GOOS=darwin go build maunium.net/go/gopacked/cmd/twitchparse -o twitchparse
env GOOS=darwin go build -o gopacked maunium.net/go/gopacked/cmd/gopacked
env GOOS=darwin go build -o twitchparse maunium.net/go/gopacked/cmd/twitchparse

debian: build-linux
mkdir -p build
Expand All @@ -41,8 +41,6 @@ macos: build-macos

package: debian linux macos windows

clean-exes:
rm -f gopacked twitchparse gopacked.exe twitchparse.exe

clean:
rm -f gopacked twitchparse gopacked.exe twitchparse.exe
rm -rf build package/usr
4 changes: 2 additions & 2 deletions package/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: gopacked
Version: 0.3-1
Version: 0.4.0-1
Section: base
Priority: optional
Architecture: amd64
Maintainer: Tulir293 <tulir293@maunium.net>
Maintainer: Tulir Asokan <tulir@maunium.net>
Description: Simple command-line modpack manager.

0 comments on commit 2be2572

Please sign in to comment.