keymanapp / keymanapp/keyman

feat(developer): add a builder-supports test for builder scripts

Open
#9,226 1 comment 0 reactions 1 assignee Claimed by @mcdurdin View on GitHub
ci developer/ feat resources/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

We could do something like:

```bash
if [[ ./build.sh builder-supports --option ]]; then
if [[ ./build.sh builder-supports action ]]; then
if [[ ./build.sh builder-supports :target ]]; then
```

This would allow us to more easily switch build parameters in build configurations, and is cleaner than using:

```bash
if [[ `./build.sh --help | grep -- --option` ]]; then
if [[ `./build.sh --help | grep -- action` ]]; then
if [[ `./build.sh --help | grep -- :target` ]]; then
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.