Pull requests are welcome!
First fork this repo, and then clone it & set the upstream repo:
git clone git@github.com:your-github-username/halyard.git
# In my case (username is lwander), the above command looks like:
# git clone git@github.com:lwander/halyard.git
cd halyard
git remote add upstream git@github.com:spinnaker/halyard.git
# The above command allows you to push patches to the upstream repo for
# approval.
If you are developing on a mac, you will need Xcode installed and you will need to open it once to agree to the license.
If you don't have it, you might see an error when you try to build the CLI (xcrun: error: invalid active developer path
).
In the project's root directory run:
./gradlew idea
and then point IntelliJ at the generated project. You shouldn't need to import this project, simply navigating to File > Open > the project's root directory should be enough.
In the project's root directory run:
./gradlew
and the daemon will build & run. The first time you do this it will take a few minutes as it fetches the dependencies.
In the project's root directory run:
cd halyard-cli/
make
./hal --help
WARNING! Since this project uses one gradle project for two executables, you currently can't run
make
and./gradlew
at the same time (one of the two will likely hang indefinitely).