1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

refactor(api): create a new structure for the Go api (#94)

* refactor(api): create a new structure for the Go api

* refactor(api): update the way keyFile parameter is managed
This commit is contained in:
Anthony Lapenna 2016-08-01 13:40:12 +12:00 committed by GitHub
parent 06c2635e82
commit b0ebbdf68c
9 changed files with 325 additions and 246 deletions

View file

@ -254,10 +254,10 @@ module.exports = function (grunt) {
},
buildBinary: {
command: [
'docker run --rm -v $(pwd):/src centurylink/golang-builder',
'shasum ui-for-docker > ui-for-docker-checksum.txt',
'docker run --rm -v $(pwd)/api:/src centurylink/golang-builder',
'shasum api/ui-for-docker > ui-for-docker-checksum.txt',
'mkdir -p dist',
'mv ui-for-docker dist/'
'mv api/ui-for-docker dist/'
].join(' && ')
},
run: {