hoboneer / redo Goto Github PK
View Code? Open in Web Editor NEWC implementation of D. J. Bernstein's redo
C implementation of D. J. Bernstein's redo
In line with the distinguishing of normal, phony, and multi-output targets proposed by #3, these distinctions could be used for multi-output targets.
Maybe redo-addtarget
could register the target with the central database, and give the caller the name of the tempfile to write to. The use of this command would mark the current target as virtual.
A central .redo
directory (a la Git) simplifies this. So, where should it be stored? Should it depend on cwd of the toplevel redo
call?
Since we already know the dependency graph, having automatic cleaning is convenient and safe.
By default, redo-clean TARGET
should remove TARGET
only. A flag -r
or -R
would recursively delete TARGET
, its dependencies, their dependencies, and so on until we clean the leaf nodes in the dependency graph.
From what i've seen in the wild, targets that, in make, would be marked .PHONY
aren't anything special in the eyes of redo
.
They're just run with redo
, while their dependencies would be run with redo-ifchange
.
What happens if a file with the same name exists? If used with redo
, there's no problem, but if used with redo-ifchange
, nothing is run.
Distinguishing real, phony, and "virtual" (multi-output) targets might help:
redo-targets -p
(p
for phony) could be run; and.do
files?)As in make, the use of shell allows easy tracing (and thus transparency) with set -xv
.
This could be generalised to any executable .do
files, capturing stderr as the tracing output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.