commit | 57bd93ae8df7a05ce270273c0f4ec79f841cf2ad | [log] [tgz] |
---|---|---|
author | Geoff Macartney <geoff.macartney@gmail.com> | Tue Feb 23 19:58:06 2021 +0000 |
committer | Geoff Macartney <geoff.macartney@gmail.com> | Sat Feb 27 23:32:40 2021 +0000 |
tree | 15e6775dbd5904fa2e16cc8dc571c02e74cfe78c | |
parent | a35e9c5f9eb84bf259008824e008eb94c0ee62cc [diff] |
update to Go modules - add go.mod and fix compilation See https://github.com/urfave/cli/blob/09ac54c2/docs/migrate-v1-to-v2.md for migration instructions for urfave/cli version 2
This repo contains the CLI client for Apache Brooklyn. It is written in go and is built for all platform.
2 methods are available to build this project: within a docker container or directly with maven.
The project comes with a Dockerfile
that contains everything you need to build this project. First, build the docker image:
docker build -t brooklyn:client .
Then run the build:
docker run -i --rm --name brooklyn-client -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:client mvn clean install
Simply run:
mvn clean install