1
0
Fork 0
Commit Graph

8 Commits (master)

Author SHA1 Message Date
Michael Raitza 139fb213b9 Treat all symlinks in sources as to-be-built files
This means symlinks can never be ordinary inputs.
2021-02-19 20:28:59 +01:00
Michael Raitza 82e3cf72dc Implement recursive path building in getSrc
${l.S ...} now tries to build its arguments when they do not exist, yet. It
behaves like a redo-ifchange, now.
2021-02-19 19:52:44 +01:00
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 9c20083680 cleanup lib 2021-02-17 18:41:56 +01:00
Michael Raitza 52f6a2badf Move TMPDIR next to NIXREDO_ROOT 2021-02-17 14:03:26 +01:00
Michael Raitza dd8952be85 Add nixredo-whichdo; Put do file discovery into nix 2021-02-16 20:32:15 +01:00