Matt Keeler
21ff0d5087
Fix cross compiling with make
...
make XC_OS=linux XC_ARCH=amd64 when running on macos puts its binaries in ${GOPATH}/bin/linux_amd64/consul and not ${GOPATH}/bin/consul
This makes the build pull the binary from the right location.
2018-07-25 15:21:11 -04:00
John Cowen
e918221275
Tiny ui build additions
...
1. Use `ls -A` to list dotfiles also, ready for tarring
2. Don't copy ember's `./tmp` if you have one
2018-07-06 15:08:11 +01:00
Matt Keeler
2cc7cd32af
Fix default make target to build everything
2018-06-27 14:25:49 -04:00
Matt Keeler
8c50e62268
Make sure to disable cgo for dev builds without gox
2018-06-26 14:54:31 -04:00
Matt Keeler
f926786292
Create a new ui_version function to pull it out of an index.html file
...
Also verify the ui version after it was built that it matches the env var we set in the build container.
2018-06-26 11:22:13 -04:00
Matt Keeler
d6bc5bc2db
Merge remote-tracking branch 'origin/feature/ui-build-version-messages' into bugfix/ui-release-version
2018-06-26 10:17:21 -04:00
Matt Keeler
f32308b574
Make sure the release builds for the UI version to be consistent with the binary version.
2018-06-26 09:39:34 -04:00
John Cowen
1f978d860d
Adds version messages both before and after the ui-v2 build
...
1. Prints the $version that you are passing through to the docker
container
2. Prints the CONSUL_VERSION that is used in the UI v2 footer
3. Additionally added a `mkdir -p` so so `make ui-docker` runs with a
clean exit if run in isolation
2018-06-26 10:33:22 +01:00
Matt Keeler
aff1b93268
Update ui-v2 makefile to handle updating node_modules when needed
...
Also dont include the dist and node_modules folders in the build context.
2018-06-19 13:51:49 -04:00
Matt Keeler
21fcb45f36
PR Updates
2018-06-19 12:47:58 -04:00
Matt Keeler
90e74da6b7
Fix a couple find warnings on linux
...
Additionally add the ability to use go install for dev builds rather than gox (travis doesn’t have gox)
2018-06-19 10:49:07 -04:00
Matt Keeler
ca1a0619bd
Refactor a little to accomodate overriding packaging using directories
2018-06-18 11:33:16 -04:00
Matt Keeler
4daf669136
Only remove builds with the same suffix
2018-06-18 09:57:12 -04:00
Matt Keeler
4c9db8c5d0
Update the name of a function source
2018-06-18 09:21:38 -04:00