This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
juju-windows [2014/04/22 23:39] gsamfira |
juju-windows [2015/03/23 17:37] (current) gsamfira |
||
---|---|---|---|
Line 15: | Line 15: | ||
* Install dependencies | * Install dependencies | ||
- | msiexec /i $HOME\go1.2.1.windows-amd64.msi /quiet | + | |
- | msiexec /i $HOME\tortoisehg-2.11.2-hg-2.9.2-x64.msi /quiet | + | |
- | $HOME\bzr-2.5.1-1-setup.exe /SILENT | + | |
- | $HOME\Git-1.9.0-preview20140217.exe /SILENT | + | |
* Add Apropriate environment variables | * Add Apropriate environment variables | ||
Line 28: | Line 28: | ||
* set variables for current session as well. The C:\Go\bin path is set by the installer: | * set variables for current session as well. The C:\Go\bin path is set by the installer: | ||
- | $env:PATH = "$env:PATH; | + | $env: |
$env:GOPATH = " | $env:GOPATH = " | ||
mkdir $env:GOPATH | mkdir $env:GOPATH | ||
Line 34: | Line 34: | ||
* Get juju-core and its dependencies | * Get juju-core and its dependencies | ||
- | go get -v launchpad.net/juju-core/... | + | go get -v github.com/juju/juju/... |
+ | | ||
+ | * Install and run godeps | ||
- | | + | |
+ | & $env:GOPATH\bin\godeps.exe -f -u $env: | ||
- | rm -Recurse -Force $env: | ||
- | git clone https:// | ||
- | cd $env: | ||
- | * Because of the way Go works, you will always get the latest revisions of dependencies. This might sometimes break the build of juju. The checkout from 19 April needs the following hack: | + | * run install |
- | | + | go install github.com/juju/juju/... |
- | hg update -r 191: | + | |
- | * Build juju-core on windows | ||
- | |||
- | go install -v launchpad.net/ | ||
- | |||
- | * Binaries can be found in $env: | ||
:!: IMPORTANT NOTE :!: DRAGONS AHEAD :!: | :!: IMPORTANT NOTE :!: DRAGONS AHEAD :!: |