Updated Project Structure
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,11 +1,11 @@
|
||||
build:
|
||||
go build -o bin/uftp main.go
|
||||
go build -o bin/uftp cmd/uftp/main.go
|
||||
|
||||
server:
|
||||
go run main.go server
|
||||
go run cmd/uftp/main.go server
|
||||
|
||||
test:
|
||||
go run main.go client testFiles/testFile 0.0.0.0:13374
|
||||
go run cmd/uftp/main.go client testFiles/testFile 0.0.0.0:13374
|
||||
|
||||
win:
|
||||
GOOS=windows GOARCH=amd64 go build -o bin/app-amd64.exe main.go
|
||||
GOOS=windows GOARCH=amd64 go build -o bin/app-amd64.exe cmd/uftp/main.go
|
||||
Reference in New Issue
Block a user