Add clean-all target to Makefile

pull/77/head
James Mills 6 months ago committed by Jon Lundy
parent 6751df353e
commit 3a82188a5b
  1. 1
      .gitattributes
  2. 7
      Makefile
  3. 0
      certs/.gitkeep
  4. 4
      client.go

1
.gitattributes vendored

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

@ -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…
Cancel
Save