-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts, docs: update api document (#1346)
- Loading branch information
Showing
7 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# Make sure docker is installed before executing it. | ||
|
||
docker pull mattjtodd/raml2html:latest | ||
docker run --rm -v $PWD:/raml mattjtodd/raml2html -i /raml/server/api/api.raml -o /raml/docs/api.html | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# This script generates tools.json | ||
# It helps record what releases/branches are being used | ||
|
||
cd $(dirname "$0")/.. | ||
which retool >/dev/null || go get github.com/twitchtv/retool | ||
|
||
# tool environment | ||
# check runner | ||
./scripts/retool add gopkg.in/alecthomas/gometalinter.v2 v2.0.5 | ||
# check spelling | ||
./scripts/retool add github.com/client9/misspell/cmd/misspell v0.3.4 | ||
# checks correctness | ||
./scripts/retool add github.com/gordonklaus/ineffassign 7bae11eba15a3285c75e388f77eb6357a2d73ee2 | ||
./scripts/retool add honnef.co/go/tools/cmd/megacheck master | ||
./scripts/retool add github.com/dnephin/govet 4a96d43e39d340b63daa8bc5576985aa599885f6 | ||
# slow checks | ||
./scripts/retool add github.com/kisielk/errcheck v1.1.0 | ||
# linter | ||
./scripts/retool add github.com/mgechev/revive 7773f47324c2bf1c8f7a5500aff2b6c01d3ed73b | ||
./scripts/retool add github.com/securego/gosec/cmd/gosec 1.0.0 | ||
# go fail | ||
./scripts/retool add github.com/pingcap/gofail master |