Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
equinox0815 committed Dec 22, 2023
1 parent 351599b commit b6a6b1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endif
EXECUTEABLE := whawty-nginx-sso

all: build
.PHONY: vet format ui build clean distclean
.PHONY: format vet cover serve-cover clean distclean

format:
$(GOCMD) fmt ./...
Expand All @@ -58,20 +58,16 @@ cover:
serve-cover:
cd ./.coverage; python3 -m http.server

ui:
$(GOCMD) generate ./ui

build: test ui
build: test
$(GOCMD) build -o $(EXECUTEABLE) ./cmd/whawty-nginx-sso

dev:
dev: test
$(GOCMD) build -o $(EXECUTEABLE) -tags=dev ./cmd/whawty-nginx-sso

clean:
rm -f $(EXECUTEABLE)

distclean: clean
rm -f ui/assets_vfsdata.go
rm -f doc/man/$(EXECUTEABLE).8

manpage: doc/man/$(EXECUTEABLE).8
Expand Down
1 change: 0 additions & 1 deletion ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func (f *filteredFilesystem) Open(name string) (fs.File, error) {
return f.base.Open(name)
}


type AlertLevel string

const (
Expand Down

0 comments on commit b6a6b1b

Please sign in to comment.