mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* 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.
25 lines
374 B
Makefile
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/
|