Files
fn-serverless/fn/Makefile
Travis Reeder 6119f07007 Fixes some route creation and updating bugs. (#526)
* Fixes some route creation and updating bugs.

* Updated README

* Added more info the quickstart

* Updated based on PR comments.

* Fixed based on comments.

* Updated per comments.
2017-02-24 16:04:04 -08:00

25 lines
374 B
Makefile

all: vendor build
./fn
build:
go build -o fn
docker: vendor
GOOS=linux go build -o fn
docker build -t iron/fn .
docker push iron/fn
vendor:
glide install -v
test:
go test -v $(shell glide nv)
release:
GOOS=linux go build -o fn_linux
GOOS=darwin go build -o fn_mac
GOOS=windows go build -o fn.exe
# install locally
install: build
sudo mv fn /usr/local/bin/