github.com/coveo/gotemplate@v2.7.7+incompatible/Makefile (about) 1 pre-commit: 2 go fmt ./... 3 go test ./... 4 5 install: 6 glide install 7 go install 8 9 # IMPORTANT: 10 # type: make doc 11 # to generate the doc rendering used to test gotemplate 12 # Be sure to validate the rendered files before commiting your code 13 doc: 14 ./render-doc 15 16 coveralls: 17 wget https://raw.githubusercontent.com/coveo/terragrunt/master/scripts/coverage.sh 18 @sh ./coverage.sh --coveralls 19 rm coverage.sh 20 21 html-coverage: 22 wget https://raw.githubusercontent.com/coveo/terragrunt/master/scripts/coverage.sh 23 @sh ./coverage.sh --html 24 rm coverage.sh 25 26 # Starts a jekyll server identical to the one on github pages 27 # Need ruby and this gem: 28 # gem install bundler 29 run-doc-server: 30 cd docs && bundle install --path vendor/bundle 31 cd docs && bundle exec jekyll serve