A build automation tool written in Go
ripple
is a build automation tool written in Go. Executing a simgle task can trigger multiple dependent tasks.
- Clone this repo via the following command:
git clone https://github.com/utkarshkrsingh/ripple.git
- Get the dependencies downloaded (make sure Go is installed):
cd ripple
go mod tidy
go mod download
- Finally compile the project to get a binary:
go build -o ripple ./cmd/ripple
To use binary system-wide, place it in /usr/local/bin/
:
sudo mv ripple /usr/local/bin/
sudo chmod +x /usr/local/bin/ripple
In Windows, to use ripple system-wide, you need to place it in a directory that is included in the PATH
environment variable.
You can run the task by using the following command:
ripple task -r <taskname> # To run the task by name
ripple task -s # To show all the listed task in ripple.toml
The configuration for each project can be written in ripple.toml
file at the root of the project.
Demo config is given - here