1
0
Fork 0
Commit Graph

13 Commits (224ff92966bf6524d7ddc0806d5839adfd4e7471)

Author SHA1 Message Date
Michael Raitza 224ff92966 Extend getSrc to take an outFunc which operates on the filtered sources 2021-02-19 09:18:10 +01:00
Michael Raitza 5e3b992c6f Extend getSrc to allow specifying subtrees of sources.
Using ${l.src dir} will include the whole subtree as a dependency.
2021-02-18 22:28:04 +01:00
Michael Raitza 69bd805cc6 Implement the getSrc combinator
Allows the use of ${l.src ./foo ./bar} to generate a sparse source tree, used
for the do script. This disects the source tree into those piece actually needed
to build the target.
- boosts clarity as all sources have to be explicitly specified
- targets that don't use eachothers sources should be independent now
2021-02-18 21:06:02 +01:00
Michael Raitza d0d5b30f6a Add src directory location info with cwd and (relative) rcwd 2021-02-17 18:54:57 +01:00
Michael Raitza 7405c29521 Move src filter into redo.getSrc. 2021-02-17 14:42:43 +01:00
Michael Raitza e6729e269f Copy source tree to non-nix-builder build directory and cd to the right spot 2021-02-17 14:06:04 +01:00
Michael Raitza 870493c34b remove trace 2021-02-17 11:00:13 +01:00
Michael Raitza bc0989e0b7 Add filtered src tree to non-nix redo targets 2021-02-17 10:43:26 +01:00
Michael Raitza 2e6ec04d74 Fix outputs to out 2021-02-17 09:45:12 +01:00
Michael Raitza 696271700a handle simultaneous writes to stdout and $3 2021-02-17 09:23:25 +01:00
Michael Raitza dd8952be85 Add nixredo-whichdo; Put do file discovery into nix 2021-02-16 20:32:15 +01:00
Michael Raitza fc8781a2e0 Add nixredo-deps; Use outputs from local store when available 2021-02-16 13:17:01 +01:00
Michael Raitza 799b381502 Initial commit.
nixredo. No default.do resolution.
2021-02-14 23:40:26 +01:00