Skip to content

Commit

Permalink
Should be able to pass arguments when run the app using 'make run' co…
Browse files Browse the repository at this point in the history
…mmand
  • Loading branch information
grafviktor committed Jan 1, 2024
1 parent 8486969 commit 37c6594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ unit-test-report:
run:
@echo 'Running debug build'
@-rm debug.log 2>/dev/null
go run cmd/goto/*
@echo 'To pass app arguments use: make run ARGS="-h"'
go run cmd/goto/* $(ARGS)

## build: create binaries for all supported platforms in ./build folder. Archive all binaries with zip.
.PHONY: build
Expand Down

0 comments on commit 37c6594

Please sign in to comment.