diff --git a/script/bootstrap b/script/bootstrap index 8473336f..bed40c44 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -1,3 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: bootstrap +# +# Install all dependencies +# +# Author: Jingwen Owen Ou go get github.com/kr/godep diff --git a/script/build b/script/build index 49e5c4fe..b28848dc 100755 --- a/script/build +++ b/script/build @@ -1,4 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: build +# +# Run go build with godep +# +# Author: Jingwen Owen Ou script/bootstrap godep go build -o gh diff --git a/script/fmt b/script/fmt index c55d90bc..c80d8383 100755 --- a/script/fmt +++ b/script/fmt @@ -1,3 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: build +# +# Run go fmt with godep +# +# Author: Jingwen Owen Ou godep go fmt ./... diff --git a/script/install b/script/install index 8510f787..5280f315 100755 --- a/script/install +++ b/script/install @@ -1,4 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: install +# +# Run go install with godep +# +# Author: Jingwen Owen Ou script/bootstrap godep go install diff --git a/script/package b/script/package index c44870ad..1f40d2a3 100755 --- a/script/package +++ b/script/package @@ -1,4 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: make +# +# Package gh for release +# +# Author: Jingwen Owen Ou go get github.com/kr/godep go get github.com/jingweno/gotask diff --git a/script/test b/script/test index 4ca2f69b..91902290 100755 --- a/script/test +++ b/script/test @@ -1,4 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash +# Usage: build +# +# Run go test with godep +# +# Author: Jingwen Owen Ou go get code.google.com/p/go.tools/cmd/cover script/fmt