Merge pull request #196 from pulumi/no_nonstandard_tools

Eliminate use of nonstandard tools
This commit is contained in:
Joe Duffy 2017-06-03 11:22:33 -07:00 committed by GitHub
commit 72919f7526
5 changed files with 5 additions and 13 deletions

View file

@ -1,9 +1,5 @@
language: go
go: 1.8.2
addons:
apt:
packages:
- realpath
before_install:
# GoDep for Go dependency management.
- go get -v github.com/tools/godep

View file

@ -1,6 +1,5 @@
PROJECT=github.com/pulumi/lumi
PROJECT_PKGS=$(shell go list ./cmd/... ./pkg/... | grep -v /vendor/)
PROCCNT=$(shell nproc --all)
.PHONY: default
default: banner lint_quiet vet test install
@ -58,7 +57,7 @@ vet:
.PHONY: test
test:
@echo "\033[0;32mTEST:\033[0m"
@go test -parallel ${PROCCNT} -cover ${PROJECT_PKGS}
@go test -cover ${PROJECT_PKGS}
.PHONY: lumijs
lumijs:

View file

@ -1,4 +1,3 @@
BASE=$(realpath ./)
INSTALL=/usr/local/bin
.PHONY: default
@ -23,7 +22,7 @@ build:
.PHONY: install
install:
@echo "\033[0;32mINSTALL:\033[0m"
@ln -sf ${BASE}/lumijs ${INSTALL}/lumijs
@ln -sf ${shell pwd}/lumijs ${INSTALL}/lumijs
.PHONY: test
test:

View file

@ -1,4 +1,3 @@
#!/bin/bash
DIR="$(dirname "$(realpath "$0")" )"
node ${DIR}/bin/cmd "$@"
#!/usr/bin/env node
require("./bin/cmd");

View file

@ -1,5 +1,4 @@
GOPKGS = $(shell go list ./provider/... | grep -v /vendor/)
PROCCNT = $(shell nproc --all)
LUMIROOT ?= /usr/local/lumi
LUMILIB = ${LUMIROOT}/packs
THISLIB = ${LUMILIB}/aws
@ -64,7 +63,7 @@ vet:
.PHONY: test
test:
@echo "\033[0;32mTEST:\033[0m"
@go test -parallel ${PROCCNT} -cover ${GOPKGS}
@go test -cover ${GOPKGS}
.PHONY: verify
verify: gen