Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-11 | Merge branch 'just-rules' into rules | Alberto Sartori | |
2024-12-11 | ["CC","auto"]: amend runner | Alberto Sartori | |
The parsing logic was buggy: - quotation was not properly taken into account - multiple keys provided as "@KEY1@${KEY2}@KEY3@" were not correctly parsed - #cmakedefine KEY1 "@KEY2@" was not correctly parsed: in this case, only @KEY2@ must be expanded, provided variable KEY1 is defined - only lines containing the magic string were processed | |||
2024-12-04 | Merge branch 'just-rules' into rules | Oliver Reiche | |
* rules/oss: config_file: Support PATH from defaults | |||
2024-12-04 | config_file: Support PATH from defaults | Oliver Reiche | |
2024-12-02 | expand_exec: Fix quoting for older dash shells | Oliver Reiche | |
... versions prior to 0.5.11. | |||
2024-11-11 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-11-11 | ["lint", "targets"]: support reporting the name of the linting performed | Klaus Aehlig | |
2024-11-06 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-11-06 | Use "cwd" property of actions | Klaus Aehlig | |
... instead of composing a shell command doing a cd first. | |||
2024-11-06 | Prefer built-in "nub_left" | Klaus Aehlig | |
Now that justbuild 1.4 is available, the workaround of defining "nub_left" in terms of "reverse" and "nub_right" is no longer necessary. | |||
2024-11-06 | Use quote and quasi-quote to simplify some expressions | Klaus Aehlig | |
2024-11-06 | Prefer built-in "nub_left" | Klaus Aehlig | |
Now that justbuild 1.4 is available, the workaround of defining "nub_left" in terms of "reverse" and "nub_right" is no longer necessary. | |||
2024-10-31 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-10-31 | ["lint", "targets"]: support TMPDIR | Klaus Aehlig | |
2024-10-25 | lint information for direct dependencies: honor components | Klaus Aehlig | |
... by honoring "modified-transitions" when determining the headers of the direct dependencies. | |||
2024-10-25 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-10-25 | ["lint", "targets"]: Also have a metadata file | Klaus Aehlig | |
... containing the names of artifacts (files or directories) that are from the target itself of the runfiles of direct dependencies. This allows tools to check some form of strict dependency structure. | |||
2024-10-25 | lint information: also provide the direct-deps artifacts separately | Klaus Aehlig | |
2024-10-23 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-10-23 | pkgconfig rules: fix usage of "join_cmd" | Klaus Aehlig | |
2024-10-21 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-10-21 | shell defaults: properly deduplicate "bin dirs" to the left | Klaus Aehlig | |
2024-09-27 | Do not expand variables in PATH | Klaus Aehlig | |
... as otherwise we will use the same string in two ways: literal and as a value to the expanded, making proper quoting impossible. Moreover, it is not necessary to expand TOOLCHAIN: pointers into the toolchain can be passed through the "bin dirs" part of the toolchain. | |||
2024-09-13 | Rules CC: Deduplicate args returned by expressions collecting args from ↵ | Sascha Roloff | |
dependencies | |||
2024-09-13 | Merge branch 'just-rules' into rules | Sascha Roloff | |
2024-09-12 | Rules CC: Deduplicate args returned by expressions collecting args from ↵ | Sascha Roloff | |
dependencies | |||
2024-09-11 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-09-11 | ["lint", "targets"]: improve documentation strings | Klaus Aehlig | |
2024-09-10 | Fix CC rules to not add run-libs-args from deps when building a shared library | Sascha Roloff | |
When a shared library is built that depends on other shared libraries, it instructs its consumers via the "run-link-args" to link only against this library and not also against its dependencies. | |||
2024-09-10 | Fix CC rules to consume static libraries when building a shared library | Sascha Roloff | |
When a shared library has static-library dependencies, it is linked against these static libraries including all their link arguments. Thus, the "link-deps" as well as the "link-args" provider of the shared library should be empty. | |||
2024-08-30 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-30 | Drop expressions for first/last element of a list entirely | Klaus Aehlig | |
... as using the built-in "[]" directly is cleaner and equally readable. | |||
2024-08-29 | ["CC", "library"]: document additional providers | Klaus Aehlig | |
2024-08-23 | rules: add and forward lint information in all cases | Klaus Aehlig | |
... provided the configuration variable "LINT" is set. | |||
2024-08-22 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-22 | Add ["lint", "defaults"] to provide paths for lint actions | Klaus Aehlig | |
... and honor those in ["lint", "targets"]. | |||
2024-08-21 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-21 | ["test", "suite"]: document fields | Klaus Aehlig | |
2024-08-20 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-20 | Add ["test", "suite"] | Klaus Aehlig | |
... collecting test results similar to the way "install" rules are typically used; however in such a way that the provider "lint" is forwarded. | |||
2024-08-20 | ["shell/test", "script"] forward lint information of deps | Klaus Aehlig | |
2024-08-20 | ["CC", "test"]: support providing lint information | Klaus Aehlig | |
While there, also properly transition "srcs" and "private-hdrs" to the host version. | |||
2024-08-20 | ["lint", "targets"]: deduplicate tasks | Klaus Aehlig | |
In case many "targets" are given, the field "lint" will contain all the concatenation of the provider "lint" of the given targets. There is, however, not need to lint the same file in the same context twice, so deduplicate the targets first. While this does not change the amount of lint actions carried out (as equal actions are handled only once anyway), it keeps the summary clean by not having dulicate entries. | |||
2024-08-14 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-14 | new rule ["lint", "targets"] | Klaus Aehlig | |
2024-08-14 | Make CC binary and library support providing information for linting | Klaus Aehlig | |
If the configuration variable "LINT" is set, also provide information on compile actions and header files (with preprocessing as described command, in particular also providing the correct flags) in correct dependency context. In this way, lint rules can request the needed information for performing their checks. | |||
2024-08-09 | object artifacts: honor modified transition | Klaus Aehlig | |
... for certain fields, in particular, the "components". | |||
2024-08-09 | compile-deps: include provided deps of components | Klaus Aehlig | |
... however not their runfiles, as those become the runfiles of the resulting library. | |||
2024-08-07 | Merge branch 'just-rules' into rules | Klaus Aehlig | |
2024-08-07 | Add field to ["CC", "defaults"] to specify arguments for ar | Klaus Aehlig | |
... instead of hard-coding ["cqs"]. |