mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 02:39:41 +02:00
refactor(api): refactor base import path (#2788)
* refactor(api): refactor base import path * fix(build-system): update build_binary_devops * fix(build-system): fix build_binary_devops for linux * fix(build-system): fix build_binary_devops for Windows
This commit is contained in:
parent
0c7d69eb17
commit
14845a4a53
184 changed files with 372 additions and 373 deletions
|
@ -1,11 +1,11 @@
|
|||
export GOPATH="$BUILD_SOURCESDIRECTORY/api"
|
||||
export GOPATH="/tmp/go"
|
||||
|
||||
binary="portainer"
|
||||
|
||||
mkdir -p dist
|
||||
mkdir -p api/src/github.com/portainer/
|
||||
mkdir -p ${GOPATH}/src/github.com/portainer/portainer
|
||||
|
||||
cp -R api/ api/src/github.com/portainer/portainer/
|
||||
cp -R api ${GOPATH}/src/github.com/portainer/portainer/api
|
||||
|
||||
cd 'api/cmd/portainer'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue