Add clean-all target to Makefile
This commit is contained in:
parent
6751df353e
commit
3a82188a5b
|
@ -0,0 +1 @@
|
|||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue