grog
Language-agnostic monorepo build tool with caching and parallel execution
About grog
Grog
Grog is the monorepo build tool for the grug-brained developer.
Grog is fully agnostic on how you run your builds.
Grog delivers cached incremental runs, parallel execution, and more!
What it feels like:
Read more in Why grog?
Highlights
- 🌐 Language agnostic
- 🚀 Parallelize your build commands
- 🔄 Only rebuilds changed targets (incremental)
- 💾 (Remote) output caching
- 🌳 Share local cache hits across Git worktrees automatically
- 🛠️ Simple build configuration with either Makefile, JSON, yaml, ...
- 📦 Single binary
Installation
MacOS:
brew tap chrismatix/grog
brew install grog
Debian / Ubuntu (swap amd64 for arm64 on ARM):
curl -LO https://grog.build/latest/grog-linux-amd64.deb
sudo apt install ./grog-linux-amd64.deb
Fedora / RHEL:
sudo dnf install https://grog.build/latest/grog-linux-amd64.rpm
Nix:
nix profile install github:chrismatix/grog # or #grog-with-pkl to include the Pkl CLI
GitHub Actions:
- uses: chrismatix/setup-grog@v1
with:
pkl-version: 0.31.1 # optional
Any other Linux:
curl -L https://grog.build/latest/grog-linux-amd64 -o /usr/local/bin/grog
chmod +x /usr/local/bin/grog
To query execution traces with grog traces, install grog-full instead (brew install grog-full, grog-full-linux-amd64.deb, #grog-full), which embeds DuckDB.
Windows (x64, PowerShell):
Invoke-WebRequest https://grog.build/latest/grog-windows-amd64.exe -OutFile grog.exe
.\grog.exe version
Move grog.exe to a directory on PATH. Install Git for Windows with Git on PATH; Grog uses its POSIX shell for target commands and scripts. Native Windows executables work as bin_output. Symlink outputs require Windows Developer Mode or administrator privileges. The default cache lives in %USERPROFILE%\.grog.
Documentation
Grog's documentation is available at grog.build.
Versioning
While Grog is still in pre-release (<1.0.0) all version changes might be breaking. After that Grog will follow semver.
Frequently Asked Questions
What is grog?
grog is a Build Automation library for the Go programming language. Language-agnostic monorepo build tool with caching and parallel execution
How do I install grog?
Install grog with the Go module system using `go get chrismatix/grog`. Check the repository for the current installation instructions.
What category does grog belong to?
grog is listed under Build Automation, specifically Build Automation.