summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-21Just-MR: Add logic for critical git opsPaul Cristian Sarbu
2022-12-21Just-MR: Add types definitions for critical Git opsPaul Cristian Sarbu
2022-12-21Just-MR: Add critical ops logic to git repo classPaul Cristian Sarbu
2022-12-21Git CAS: Move Git tree ops to fake repo wrapper classPaul Cristian Sarbu
2022-12-20Git CAS: Add fake repository wrapper for git odbPaul Cristian Sarbu
2022-12-20Git CAS: Clean includesPaul Cristian Sarbu
Removed unused file_system_manager dependency
2022-12-20Git CAS: Add a Git context class to maintain the libgit2 statePaul Cristian Sarbu
2022-12-20libgit: Clean configure targetPaul Cristian Sarbu
Removed superfluous "OS" env var
2022-12-16rules: Parallelize ["CC/auto", "config"] check actionsOliver Reiche
2022-12-16rules: Use common expressions for ["CC/auto", "config"]Oliver Reiche
2022-12-16tutorial: Add missing hello.cpp to rebuild sectionOliver Reiche
2022-12-16tutorial: Update file-glob-tree sectionOliver Reiche
... by using the fully declared rules-cc repository and feeding ed from stdin.
2022-12-16tutorial: Update proto sectionOliver Reiche
... by explicitly specifying the protobuf repository and using just-import-git to import the rules-cc repository. Furthermore, protobuf's subdir "examples" is used directly and all targets are created in the top-level module.
2022-12-16tutorial: Update tests sectionOliver Reiche
... by adding some remarks and creating all tests in module "tests".
2022-12-16tutorial: Use rules-cc from public Git repositoryOliver Reiche
2022-12-16tutorial: Fix typosOliver Reiche
2022-12-16tutorial: Fix use of new rule interfaceOliver Reiche
2022-12-14Test: Remove git bundle dependency from base_maps testsPaul Cristian Sarbu
2022-12-14Test: Remove git bundle dependency from file_system testsPaul Cristian Sarbu
2022-12-14rules: Collect artifacts from "srcs" targets for ["data", "staged"]Oliver Reiche
2022-12-14rules: Collect artifacts from "data" targets for test binariesOliver Reiche
2022-12-14rules: Report fieldname of overlapping artifacts/runfilesOliver Reiche
2022-12-14rules: Add type size check to ["CC/auto", "config"]Oliver Reiche
2022-12-12Start 1.1 development cycleKlaus Aehlig
2022-12-12Release 1.0.0v1.0.0Klaus Aehlig
2022-12-12Just-mr: Fix handling and meaning of --just optionPaul Cristian Sarbu
The value of --just option should be used as-is, as it might be a var in PATH. The `execvp` call will handle this. The Python script and man page have been updated accrodingly.
2022-12-12README: minor wording fixesKlaus Aehlig
2022-12-12rules: Fix missing arch vars for shell testsOliver Reiche
2022-12-12tutorial/proto.org: update target and regenerate screen shotsKlaus Aehlig
... given that binaries now only have "private-proto" (as there are no public dependencies of a binary anyway). While there, also hint on the script for git imports, to simplify the setup of the example.
2022-12-09tutorial: add some clarifying commentsKlaus Aehlig
... on parts a first-time reader might (and actually did) stumble upon.
2022-12-09just-import-git.py: Support distdir repositoriesOliver Reiche
2022-12-09rules: cflags have precedence over definesOliver Reiche
2022-12-09rules: ldflags have precedence over transitive link argsOliver Reiche
2022-12-09rules: Create library in stage directoryOliver Reiche
2022-12-09rules: Add cross-compile support for testsOliver Reiche
2022-12-09rules: Add argument support for test binariesOliver Reiche
2022-12-09rules: Refactoring and minor improvementsOliver Reiche
Compared to the previous commit, the action graphs for just and its unit tests are unchanged. - Git hash of action graph for ["",""]: c6e75f17abd7ffaab6ff9bb725ad67ec0bf6c973 - Git hash of action graph for ["test/buildtool","TESTS"]: 8063dfb3dd7daa9ae01d95c177e14946f785c57e Refactor: - "local cflags" to "private-cflags" - "local defines" to "private-defines" - "link externals" to "private-ldflags" - "deps" to "private-deps" for (test) binaries - "proto" to "private-proto" for binaries Improvements: - consistent variable declaration order: OS, ARCH, HOST_ARCH, TARGET_ARCH, CC, CXX, CFLAGS, CXXFLAGS, ADD_CFLAGS, ADD_CXXFLAGS, AR, ENV, PATH - use fields close to their definition (in RULES) - use common expression for binaries and test binaries - split expression "flags" and "compiler" ... to separate ones for CC and CXX. - rename "transition" to "deps-transition" ... to avoid conflicts with other transitions. - support "defaults-transition" for CC expressions Implement: - "cflags" for libraries - "private-cflags" for (test) binaries - "private-defines" for test binaries - "private-ldflags" for test binaries - (public) "defines" for libraries
2022-12-09rules: Drop the ["CC", "header directory"]Oliver Reiche
... in favor of the "tree" built-in rule.
2022-12-09rules: Fix missing cflags for linking test binaryOliver Reiche
... which is required for cross-compilation, e.g., clang's `-target` option.
2022-12-08tutorial: Use newly introduced private-deps for fmtOliver Reiche
2022-12-07Built-in rules: add a tree ruleKlaus Aehlig
... so that for every construct supported in rules there is an analogous one as a built-in rule to allow ad-hoc constructions without having to write a rule (even though writing a rule is recommended for everything occuring more than once): - the "generic" rule allows an ad-hoc ACTION, - the "file_gen" rule allows an ad-hoc BLOB, - the "tree" rule allows an an ad-hoc TREE, and - the "configure" rule allows an ad-hoc configuration transition.
2022-12-07file_gen rule: fix computation of effective configurationKlaus Aehlig
The dependencies requested in order to read their "outs" or "runfiles" also contribute to the effective configuration.
2022-12-07just: Allow multiple log filesPaul Cristian Sarbu
2022-12-07just: Fix typos in command descriptions (--help)Paul Cristian Sarbu
2022-12-06just-mr: Fix norc handling in Python scriptPaul Cristian Sarbu
If norc options is given then no checks for the rc_path (e.g., whether it points to a file or not) should even be considered.
2022-12-06Fix typos in just(1) man pagePaul Cristian Sarbu
2022-12-06Fix typo in libgit2 gssapi targetPaul Cristian Sarbu
2022-12-02just-mr: fix format-string interpolationKlaus Aehlig
2022-11-30Add script to import a git repos as dependencyKlaus Aehlig
... assuming this repo already uses just and has a multi-repository configuration committed. In the import, transitive dependencies, as well as repositories serving as layers, are taken into account, and "file" repositories are rewritten to be subdirs of the repository imported. The imported repositories are renamed to reflect the repository pulling them in, extending the name appropriately to avoid conflicts. This renaming is reflected in the bindings and layer references of the imported repositories as well. In this simple version, no automatic deduplication of imported repositories to already existing repositories is made, but the user can specify that certain foreign repositories should not be imported and mapped to already present repositories.
2022-11-29bash completion: add copyrightAlberto Sartori