Added CHANGELOG.md and VERSION.
This commit is contained in:
parent
d7f8eb1083
commit
b0107f53ac
|
@ -0,0 +1,4 @@
|
||||||
|
## 0.1.0 / 2015-02-02
|
||||||
|
* [CLEANUP] Introduced semantic versioning and changelog. From now on,
|
||||||
|
changes will be reported in this file.
|
||||||
|
|
8
Makefile
8
Makefile
|
@ -11,6 +11,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
VERSION=$(shell cat `git rev-parse --show-toplevel`/VERSION)
|
||||||
|
|
||||||
OS = $(shell uname)
|
OS = $(shell uname)
|
||||||
ARCH = $(shell uname -m)
|
ARCH = $(shell uname -m)
|
||||||
|
|
||||||
|
@ -89,7 +91,11 @@ advice: test
|
||||||
$(GO) vet ./...
|
$(GO) vet ./...
|
||||||
|
|
||||||
format:
|
format:
|
||||||
find . -iname '*.go' | grep -v './.build/' | xargs -n1 -P1 $(GOFMT) -w -s=true
|
find . -iname '*.go' | grep -vE '^./(.build|_vendor)/' | xargs -n1 -P1 $(GOFMT) -w -s=true
|
||||||
|
|
||||||
|
tag:
|
||||||
|
git tag $(VERSION)
|
||||||
|
git push --tags
|
||||||
|
|
||||||
search_index:
|
search_index:
|
||||||
$(GODOC) -index -write_index -index_files='search_index'
|
$(GODOC) -index -write_index -index_files='search_index'
|
||||||
|
|
Loading…
Reference in New Issue