Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walteh/buildrc
build-time metadata without having to think 🛠️
https://github.com/walteh/buildrc
Last synced: 6 days ago
JSON representation
build-time metadata without having to think 🛠️
- Host: GitHub
- URL: https://github.com/walteh/buildrc
- Owner: walteh
- Created: 2023-06-12T15:04:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T14:05:05.000Z (about 1 year ago)
- Last Synced: 2024-11-09T20:18:47.312Z (2 months ago)
- Language: Go
- Homepage:
- Size: 31.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# buildrc 📦
[![codecov](https://codecov.io/gh/walteh/buildrc/graph/badge.svg?token=6KW7C9X6YD)](https://codecov.io/gh/walteh/buildrc)`buildrc` is a command-line utility and GitHub Action designed to simplify and streamline your build processes. This tool was built with versatility in mind, allowing it to be easily integrated into various development workflows and CI/CD pipelines.
## `buildrc` Command
The `buildrc` command provides functionality to build and manage your projects. It checks for a "buildrc-override" artifact first; if it doesn't exist, `buildrc` will fetch a specific tagged version from GHCR (GitHub Container Registry), add the files to a temporary folder, and alias `buildrc` to the main executable.
### Usage
Here is a basic usage example:
```bash
$ buildrc
```## `buildrc` GitHub Action
The `buildrc` GitHub Action sets up `buildrc` in your GitHub Actions workflows. It downloads the "buildrc-override" artifact if it exists or pulls a specific version of `buildrc` from GHCR if the artifact does not exist.
The action then creates a temporary directory and sets an alias for `buildrc` in the current shell to point to the main executable.
### Usage
Here's a simple example of how to use the `buildrc` action in a workflow:
```yaml
- name: Setup buildrc
uses: nuggxyz/actions/setup-buildrc@v0
```### Assumptions
1. You have a `.buildrc` file in the root of your repository.
2. pipeline will be run on linux-amd64