-
Notifications
You must be signed in to change notification settings - Fork 263
Forking
simcap edited this page May 17, 2018
·
2 revisions
In case you want to submit a pull request, you will have to follow these steps:
- Fork
awless
on github https://github.com/wallix/awless.git - Create a new branch for your feature
git checkout -b feature-branch
- Add your feature and its tests
- Commit your changes
git commit -a -m "New feature"
- Test your changes and the whole
awless
project, following the procedure described on the testing page - Push the branch to your github
git push -u origin feature-branch
- Create a new pull request
If you just want to play or code against the source code you can just get the sources with:
go get -u github.com/wallix/awless
You need first need to install Golang >= 1.10 to build awless
.
$ cd awless
$ go test -v -race ./...
Have a look at the Testing wiki page for more on the awless
test suite.
To run from your local repo:
$ cd awless
$ go run main.go list instances
To build a local executable
$ go build
or
$ GOARCH=amd64 GOOS=linux go build # Cross compilation to Linux amd64
Then
$ ./awless list instances
Or if you want to install to your $GOPATH/bin
$ go install
$ awless list instances