Skip to content

Commit

Permalink
fix deletion of client.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Jan 25, 2023
1 parent da0be1a commit 85aa875
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ GOPATH=$(HOME)/go
VERSION=0.1.3
LAST_VERSION=0.1.2
USER_GH=eyedeekay
export CGO_ENABLED=0
CGO_ENABLED?=0

GOOS?=$(shell uname -s | tr A-Z a-z)
GOARCH?="amd64"

bin: $(GOPATH)/src/i2pgit.org/idk/railroad clean linux-releases windows-releases copy
Expand All @@ -22,7 +21,7 @@ linux:
GOOS=linux go build -tags=sqlite_omit_load_extension,netgo,osusergo -ldflags "-s -w" -o railroad-$(GOOS)

rb:
go build -tags="sqlite_omit_load_extension,netgo,osusergo" -ldflags "-s -w" -o $(REPO_NAME)-$(GOOS)
go build -tags="sqlite_omit_load_extension,netgo,osusergo" -ldflags "-s -w" -o $(REPO_NAME)

linux-release: linux
make checkinstall
Expand Down Expand Up @@ -130,8 +129,8 @@ zip:
zip railroad.zip -r railroad

osx:
go build -tags="sqlite_omit_load_extension,netgo,osusergo" -ldflags "-s -w" -o railroad-$(GOOS)
go build -tags="sqlite_omit_load_extension,netgo,osusergo,osxalt" -ldflags "-s -w" -o railroad-$(GOOS)-ui
CGO_ENABLED=1 GOOS=darwin go build -tags="sqlite_omit_load_extension,netgo,osusergo" -ldflags "-s -w" -o railroad-$(GOOS)
CGO_ENABLED=1 GOOS=darwin go build -tags="sqlite_omit_load_extension,netgo,osusergo,osxalt" -ldflags "-s -w" -o railroad-$(GOOS)-ui

macapp:
mkdir -p railroad.app/Contents/MacOS/content
Expand Down Expand Up @@ -220,8 +219,8 @@ plugin-windows:
SIGNER_DIR=$(HOME)/i2p-go-keys/

plugin-pkg:
rm -f plugin.yaml config.yaml
i2p.plugin.native -name=railroad-$(GOOS) \
rm -f plugin.yaml client.yaml
GOOS=windows i2p.plugin.native -name=railroad-$(GOOS) \
[email protected] \
-signer-dir=$(SIGNER_DIR) \
-version "$(VERSION)" \
Expand All @@ -239,6 +238,7 @@ plugin-pkg:
-website="http://idk.i2p/railroad/" \
-command="railroad-$(GOOS) -custompath \$$PLUGIN/" \
-license=MIT \
-targetos=$(GOOS) \
-res=plugin-config/
cp -v railroad-$(GOOS).su3 ../railroad-$(GOOS).su3
unzip -o railroad-$(GOOS).zip -d railroad-$(GOOS)-zip

0 comments on commit 85aa875

Please sign in to comment.