forked from gyepisam/redux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
65 lines (41 loc) · 1.37 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
TODO List
- Todo items begin with a dash
* Starred items are done.
-* A starred Todo item is completely done.
- optimization -- rewrite redoTarget with sets:
old = existing prerequisite keys
new = new prerequisites keys
deletes = old - new
writes = new - old
# updates
for each file in old && new
if !file.IsCurrent() {
add file to deletes
add file to writes
delete(deletes)
put(writes)
In most cases, this will eliminate a number of redundant operations.
- Increased verbosity should
* Show do file selected
Show file stats for generated output
- Add mechanism to run jobs in parallel
Useful for 'redo' or 'ifchange' with multiple targets.
- Add command to list database entries. Either for a single file or all files.
- Tests
check arguments
writing to stdout vs file
cross project dependencies
- Use different database?
Doubtlessly, an embedded SQL or key value database would be faster.
Need to ensure serializable access.
-* Add debug flag
-* Change verbosity > 2 behaviour to use debug
- * Combine into single executable with commands.
redux init
redux ifchange
redux ifcreate
redux redo
With links to redux for each command.
-* Rebuild binary for tests
-* Add support for multiple levels of extensions.
See https://github.com/gyepisam/redux/issues/1