Skip to content

Commit

Permalink
Remove validator.go inside docs (#1162)
Browse files Browse the repository at this point in the history
Existing code cannot be used as is.
Needs to be rewritten. OK to remove it now.
  • Loading branch information
kannappanr authored Sep 19, 2019
1 parent 1e01719 commit eed067a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 252 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: checks

.PHONY: examples docs

checks: vet test examples docs functional-test
checks: vet test examples functional-test

vet:
@GO111MODULE=on go vet ./...
Expand All @@ -13,8 +13,5 @@ test:
examples:
@mkdir -p /tmp/examples && for i in $(echo examples/s3/*); do go build -o /tmp/examples/$(basename ${i:0:-3}) ${i}; done

docs:
@(cd docs; GO111MODULE=on go build validator.go && ./validator -m ../docs/API.md -t checker.go.tpl)

functional-test:
@GO111MODULE=on SERVER_ENDPOINT=localhost:9000 ACCESS_KEY=minio SECRET_KEY=minio123 ENABLE_HTTPS=1 MINT_MODE=full go run functional_tests.go
21 changes: 0 additions & 21 deletions docs/checker.go.template

This file was deleted.

227 changes: 0 additions & 227 deletions docs/validator.go

This file was deleted.

0 comments on commit eed067a

Please sign in to comment.