Skip to content

Commit

Permalink
Merge pull request #150 from CiscoCloud/feature/releases
Browse files Browse the repository at this point in the history
Feature/releases
  • Loading branch information
langston-barrett committed May 26, 2016
2 parents 598ca88 + 55a3232 commit 9c7a18c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
TEST?=$(glide novendor)
NAME = $(shell awk -F\" '/^const Name/ { print $$2 }' main.go)
VERSION = $(shell awk -F\" '/^const Version/ { print $$2 }' main.go)

all: deps build

deps:
glide install

updatedeps:
glide update

build: deps
@mkdir -p bin/
go build -o bin/$(NAME)

test: deps
go test $(TEST) $(TESTARGS) -timeout=30s -parallel=4

package: test build
tar -zcvf bin/distributive.tar.gz distributive

.PHONY: all deps updatedeps build test package
19 changes: 0 additions & 19 deletions packaging/spec.yml

This file was deleted.

0 comments on commit 9c7a18c

Please sign in to comment.