assets: update assets

This commit is contained in:
fatedier 2016-08-12 00:39:39 +08:00
parent 5d9300c1e9
commit 4914472215
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ build: frps frpc build_test
build_test: echo_server http_server build_test: echo_server http_server
# compile assets into binary file
assets: assets:
go get -d github.com/rakyll/statik go get -d github.com/rakyll/statik
@go install github.com/rakyll/statik @go install github.com/rakyll/statik
@ -21,7 +22,7 @@ fmt:
frps: frps:
go build -o bin/frps ./src/cmd/frps go build -o bin/frps ./src/cmd/frps
cp -rf ./src/assets/static ./bin @cp -rf ./src/assets/static ./bin
frpc: frpc:
go build -o bin/frpc ./src/cmd/frpc go build -o bin/frpc ./src/cmd/frpc

File diff suppressed because one or more lines are too long