Commit graph

16 commits

Author SHA1 Message Date
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Marc Durdin
c475188c6b chore: use builder_die, remove die 2023-02-20 09:03:37 +07:00
Marc Durdin
767927bf16 chore(common): use /usr/bin/env bash
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash`
instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with
the ancient version of bash supplied with macOS.

This became urgent with this PR, because of bash-4.xisms in
build-utils.sh, for example on line 572:

```
if [[ -v _builder_params[$e] ]]; then
```
2022-07-25 14:59:37 +10:00
Darcy Wong
d030183451 chore(oem/fv): Set executable flag 2022-02-10 10:01:18 +07:00
Darcy Wong
e3bf5fb22a chore(oem/fv): Include script to update keyboards.csv 2022-02-10 09:56:58 +07:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
jahorton
99c0d00961 change(oem/fv/ios): now uses fv_all.kmp 2021-02-11 09:38:56 +07:00
Darcy Wong
7c0b82e5fc
Update oem/firstvoices/common/build_keyboards.sh
Accept suggestion for checking $KEYBOARDS_TARGET

Co-authored-by: Marc Durdin <marc@durdin.net>
2020-05-01 11:04:00 +07:00
Darcy Wong
32aa712a46 fix(oem): Fix script path 2020-05-01 09:30:49 +07:00
Darcy Wong
e5ae3d1d87 fix(oem): Address additional review comments 2020-05-01 08:16:43 +07:00
Darcy Wong
3462cfa822 fix(oem,common): Address review comments 2020-04-30 06:16:50 +07:00
Darcy Wong
6b53667643 fix(oem,common): Update FirstVoices build_keyboards.sh script
Incorporate changes from #3040 into oem/firstvoices/common/build_keyboards.sh

I had to include sil_euro_latin.kmp because KMManager reverts to default package ID (sil_euro_latin) on KMW exceptions.

This will also need a keyboards build of fv_all.kmp (next version 12.2 should include touch keyboards)
2020-04-29 17:16:12 +07:00
Marc Durdin
ccf1db9336 Address review comments 2019-08-12 14:18:24 +10:00
Marc Durdin
929f5e0cb5 Move a comment 2019-08-09 20:59:37 +10:00
Marc Durdin
ec858c3596 Rearrange build scripts for OEM to share keyboards build script 2019-06-12 13:52:17 +10:00