Skip to content

Commit

Permalink
feat: Kutyme å bruke cmd for kommandoer man kjører
Browse files Browse the repository at this point in the history
> A common convention is placing all commands in a repository into a
cmd directory

https://go.dev/doc/modules/layout#multiple-commands

Co-authored-by: Kim Tore Jensen <kimtjen@gmail.com>
  • Loading branch information
Kyrremann and kimtore committed Oct 1, 2024
1 parent a257c5b commit 4ee9816
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: build

build: check fmt
go build -o narc ./
go build -o narc cmd/narc/main.go

check: staticcheck vulncheck deadcode

7 changes: 0 additions & 7 deletions main.go

This file was deleted.

0 comments on commit 4ee9816

Please # to comment.