Skip to content

Commit

Permalink
fix: makefile docs target
Browse files Browse the repository at this point in the history
  • Loading branch information
tympanix committed Mar 17, 2019
1 parent 33dadda commit cc1a9e6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ build:

test:
go test -race -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic ./...
.PHONY: test

release:
ifdef TAG
Expand All @@ -24,4 +23,12 @@ endif
codecov:
curl -sL https://codecov.io/bash | bash

docs:
rm -rf docs/public
git worktree prune
git worktree add docs/public gh-pages
cd docs && hugo && cd ..

ci: build test codecov release

.PHONY: test docs

0 comments on commit cc1a9e6

Please sign in to comment.