Compare commits

..

No commits in common. "master" and "v0.20.3" have entirely different histories.

2 changed files with 3 additions and 24 deletions

View File

@ -1,24 +1,7 @@
VERSION = $(shell git describe --tags) all:
BUILDTIME = $(shell date +%Y.%m.%d) go build -v -x
all: build
./control-panel-vpn ./control-panel-vpn
build:
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
verbose:
GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
install:
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
clean:
-rm -f control-panel-vpn
goimports: goimports:
goimports -w *.go goimports -w *.go

View File

@ -1,8 +1,4 @@
/* // This is a simple example
Attempt to make a VPN
Take a look at: https://github.com/skx/simple-vpn
*/
package main package main
import ( import (