-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 767 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# variable definitions
NAME := crypto
VERSION := $(shell git describe --tags --always --dirty)
GOVERSION := $(shell go version)
BUILDTIME := $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
BUILDDATE := $(shell date -u +"%B %d, %Y")
BUILDER := $(shell echo "`git config user.name` <`git config user.email`>")
PKG_RELEASE ?= 1
PROJECT_URL := "https://github.com/ReconfigureIO/$(NAME)"
.PHONY: test vendor install
test:
go test github.com/ReconfigureIO/crypto/md5
vendor: examples/md5/vendor/github.com/ReconfigureIO/$(NAME)/md5
install: vendor
cd examples/md5 && glide install
examples/md5/vendor/github.com/ReconfigureIO/$(NAME)/md5: md5
mkdir -p examples/md5/vendor/github.com/ReconfigureIO/$(NAME)/
cp -r md5 examples/md5/vendor/github.com/ReconfigureIO/$(NAME)/md5