Commit graph

21 commits

Author SHA1 Message Date
Eberhard Beilharz
08a259c6e2
chore(linux): Fix build scripts
Creating the coverage option to ninja previously didn't work reliably.
This change re-orders the parameters passed to `meson setup` and seems
to work better. Additionally this change refactors the scripts and makes
use of `builder_run_action`.
2023-10-17 20:01:05 +02:00
Eberhard Beilharz
3d8cf1830b
chore(linux): Add dependency to build.sh
For integration tests ibus-keyman requires keyman-system-service to
be built, so we add this as a dependency.
2023-09-21 16:11:43 +02:00
Eberhard Beilharz
20149b6a2f
chore(linux): Remove obsolete code
Addresses code review comment.
2023-09-20 08:52:13 +02:00
Eberhard Beilharz
3f4dae0231
chore(linux): make --report an option instead of action
This addresses code review comments.
2023-09-19 10:23:00 +02:00
Eberhard Beilharz
a870b9a6c0
chore(linux): Add coverage action to ibus-keyman/build.sh 2023-09-18 19:19:58 +02:00
Eberhard Beilharz
81f46e1a6d
feat(linux): Minimize tags before adding keyboards
This ensures that bcp47 language tags are in a form the OS
understands.
2023-07-19 16:20:27 +02:00
Eberhard Beilharz
fee21869fb
chore(linux): Allow to run tests without integration tests 2023-07-05 17:08:06 +02:00
Eberhard Beilharz
efb48e5568
chore(linux): Add build.sh for keyman-config
Also remove second output from build.sh which isn't supported and
doesn't work. `ibus-keyman-tests` will be built when running
`build.sh test`.
2023-05-09 11:59:21 +02:00
Eberhard Beilharz
fe4e968a49
chore(linux): Fix build script
Previously we didn't correctly change directories which could lead
to the error "cd: ../build/x86_64/release: No such file or directory".
2023-05-03 11:36:15 +02:00
Eberhard Beilharz
40e6c6edaa
Update linux/ibus-keyman/build.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-03-14 16:14:23 +01:00
Eberhard Beilharz
c33635b2f4
chore(linux): Use dependency on core in ibus-keyman/build.sh 2023-03-13 09:50:14 +01:00
Marc Durdin
00017350d3 chore(common): clean up --debug usage in build scripts
Fixes #8373.

Note that the core functionality requested in #8373 is already in place;
this commit just does some cleanup to make this easier to maintain in
the future:

* Uses `builder_is_debug_build` function to test for debug build
  (instead of `builder_has_option --debug`, which would also work but
  using the other function avoids typo issues with the option name).

* Renames `$_builder_debug` to `$_builder_debug_internal` to reduce
  naming confusion

* Documents `$builder_debug`, `builder_is_debug_build`, and clarifies
  usage of `--debug` option.

* Logs command line for dep builds (we could hide this in the future,
  but it certainly doesn't hurt for now!)
2023-03-08 05:40:40 +07:00
Eberhard Beilharz
67bd5fb399
fix(linux): Fix ibus-keyman/build.sh
Paths that describe outputs are supposed to be relative to root,
not absolute. Also, it turns out we don't use the `--output`
parameter, so this change removes it.
2023-02-27 18:42:38 +01:00
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
Eberhard Beilharz
2e12021a74
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-20 09:43:04 +01:00
Eberhard Beilharz
9179af611e
chore(linux): Remove all action
Instead this can be done with internal dependencies (except
running `clean` first). Running `./build.sh clean build` will
achieve the same.
2023-02-15 17:39:25 +01:00
Eberhard Beilharz
89c59c6940
chore(linux): Set correct flags on debug builds
This adds setting the appropriate variables when doing a debug build.
This eliminates the need to have those in the documentation.
2023-02-15 17:16:22 +01:00
Eberhard Beilharz
c02741a535
chore(linux): Add output descriptions for ibus-keyman
Also since core doesn't use the new build.sh syntax the dependency
on core doesn't work yet.
2023-02-07 18:31:06 +01:00
Eberhard Beilharz
a3d1654364
chore(linux): Address code review comments 2023-02-06 20:25:56 +01:00
Eberhard Beilharz
3dbdef651d
chore(linux): Add build.sh to ibus-keyman 2023-02-01 08:49:26 +01:00