move the go source files to src directory

This commit is contained in:
TJ Horner 2019-02-28 12:03:45 -08:00
parent c43596b012
commit bc7c6c99d7
5 changed files with 4 additions and 4 deletions

View File

@ -8,21 +8,21 @@ ensure-dist-dir:
dist-win: ensure-dist-dir
# Build for Windows x64
GOOS=windows GOARCH=amd64 $(GOBUILD) -o dist/e6dl-windows-amd64.exe *.go
GOOS=windows GOARCH=amd64 $(GOBUILD) -o dist/e6dl-windows-amd64.exe src/*.go
dist-macos: ensure-dist-dir
# Build for macOS x64
GOOS=darwin GOARCH=amd64 $(GOBUILD) -o dist/e6dl-darwin-amd64 *.go
GOOS=darwin GOARCH=amd64 $(GOBUILD) -o dist/e6dl-darwin-amd64 src/*.go
dist-linux: ensure-dist-dir
# Build for Linux x64
GOOS=linux GOARCH=amd64 $(GOBUILD) -o dist/e6dl-linux-amd64 *.go
GOOS=linux GOARCH=amd64 $(GOBUILD) -o dist/e6dl-linux-amd64 src/*.go
dist: dist-win dist-macos dist-linux
build:
@- mkdir -p bin
$(GOBUILD) -o bin/e6dl *.go
$(GOBUILD) -o bin/e6dl src/*.go
@- chmod +x bin/e6dl
install: build