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:
parent
06c2635e82
commit
b0ebbdf68c
9 changed files with 325 additions and 246 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue