Windows build: updates to build stuff to create better windows packages

This commit is contained in:
Torkel Odegaard
2015-04-20 08:10:23 +02:00
parent bb7ee1c5a3
commit c9a28ddd38
5 changed files with 21 additions and 28 deletions

View File

@@ -5,9 +5,14 @@ os: Windows Server 2012 R2
clone_folder: c:\gopath\src\github.com\grafana\grafana
environment:
nodejs_version: "0.10"
GOPATH: c:\gopath
install:
# install nodejs and npm
- ps: Install-Product node $env:nodejs_version
- npm install
# install gcc (needed for sqlite3)
- choco install -y mingw
- set PATH=C:\tools\mingw64\bin;%PATH%
- echo %PATH%
@@ -18,3 +23,4 @@ install:
build_script:
- go run build.go build
- grunt release