Skip to content

Commit

Permalink
chore: automatic output name on build
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiresviana committed Mar 15, 2021
1 parent e1f6586 commit 4c1dd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,6 +5,7 @@ _old
rice-box.go
.idea/
filebrowser
filebrowser.exe

.DS_Store
node_modules
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -49,7 +49,7 @@ build-frontend: | ; $(info $(M) building frontend…)
## build-backend: Build backend
.PHONY: build-backend
build-backend: | ; $(info $(M) building backend…)
$Q $(GO) build -ldflags '$(LDFLAGS)' -o filebrowser
$Q $(GO) build -ldflags '$(LDFLAGS)' -o .

## test: Run all tests
.PHONY: test
Expand All @@ -61,7 +61,7 @@ test-frontend: | ; $(info $(M) running frontend tests…)

## test-backend: Run backend tests
.PHONY: test-backend
test-backend: | $(RICE) ; $(info $(M) running backend tests…)
test-backend: | ; $(info $(M) running backend tests…)
$Q $(GO) test -v ./...

## lint: Lint
Expand Down

0 comments on commit 4c1dd5c

Please sign in to comment.