I think I've got a forwarding proxy that works with i2p
This commit is contained in:
27
Makefile
27
Makefile
@ -1,6 +1,29 @@
|
||||
|
||||
GOPATH = $(PWD)/.go
|
||||
|
||||
echo:
|
||||
@echo "$(GOPATH)"
|
||||
|
||||
test:
|
||||
go test
|
||||
./bin/ephsite -addr=127.0.0.1:8081 &
|
||||
sleep 120
|
||||
killall ephsite
|
||||
|
||||
build:
|
||||
deps:
|
||||
go get -u github.com/eyedeekay/ephemeral-eepSite-SAM
|
||||
go get -u github.com/eyedeekay/i2pasta/convert
|
||||
go get -u github.com/kpetku/sam3
|
||||
|
||||
build: clean
|
||||
mkdir -p bin
|
||||
cd main && go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o ../bin/ephsite
|
||||
|
||||
clean:
|
||||
rm -f bin/ephsite
|
||||
|
||||
run:
|
||||
./bin/ephsite -addr="127.0.0.1:8081"
|
||||
|
||||
noopts: clean
|
||||
mkdir -p bin
|
||||
cd main && go build -o ../bin/ephsite
|
||||
|
Reference in New Issue
Block a user