Add clean-all target to Makefile

This commit is contained in:
James Mills 2022-03-27 15:45:44 +10:00 committed by Jon Lundy
parent 6751df353e
commit 3a82188a5b
4 changed files with 8 additions and 4 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.wasm filter=lfs diff=lfs merge=lfs -text

View File

@ -1,5 +1,5 @@
-include environ.inc
.PHONY: help deps dev build install image release test clean
.PHONY: help deps dev build install image release test clean clean-all
export CGO_ENABLED=0
VERSION=$(shell git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION")
@ -86,5 +86,8 @@ coverage: ## Get test coverage report
@CGO_ENABLED=1 $(GOCMD) test -v -cover -race -cover -coverprofile=coverage.out ./...
@$(GOCMD) tool cover -html=coverage.out
clean: ## Clean and remove build artifacts
clean: ## Remove untracked files
@git clean -f -d
clean-all: ## Remove untracked and Git ignores files
@git clean -f -d -X

0
certs/.gitkeep Normal file
View File

View File

@ -181,7 +181,7 @@ func (cli *Client) SendToAddr(addr *Addr, msg string) error {
return nil
}
// Register sends a registration requestn to a broker
func (cli *Client) Register() error {
// Register sends a registration request to the service user of a Salty Broker
func (cli *Client) Register(me *Addr) error {
return nil
}