Florian Limberger
88452a9334
Merge 90057b78e4 into 73d1b31466
2020-04-23 19:06:36 +02:00
Florian Limberger
90057b78e4
Execute arbitrary commands in redirect inclusion
...
The current implementation of `<|` does not handle arbitrary commands,
like e.g. the `$PLAN9/src/mkhdr` file:
<| cat $PLAN9/config 2>/dev/null || true
Signed-off-by: Florian Limberger <flo@purplekraken.com>
2020-04-23 19:05:32 +02:00
Daniel Jones
73d1b31466
Add a '-q' option to not print recipes before executing.
2015-03-24 17:47:02 -07:00
Daniel Jones
53634f87d8
Fix an issue with mkfiledir.
2014-08-05 18:28:00 -07:00
Daniel Jones
49fdbebf48
Add a mkfiledir variable that evuates to the full path of the current mkfile.
2014-08-05 14:16:59 -07:00
Daniel Jones
4554b8c6cb
Missing newlines from error messages.
2014-08-04 13:57:52 -07:00
Daniel Jones
542ac3e421
Clarify install instructions.
2014-08-04 13:55:54 -07:00
Daniel Jones
35f6199e68
Center
2014-08-04 13:46:00 -07:00
Daniel Jones
a29a7207a1
Slightly expand README.
2014-08-04 13:42:57 -07:00
Daniel Jones
8cb7110099
Support for namelists. Fixes #3 .
2014-08-04 12:31:13 -07:00
Daniel Jones
e343ba3689
Allow escaping of '$' with '$$'.
2014-08-04 12:30:25 -07:00
Daniel Jones
46851e27fa
Fix go 1.0 compatibility
2014-05-23 11:10:06 -07:00
Daniel Jones
c8987c4e97
Actually fix variable expansion.
2014-04-17 10:35:07 -07:00
Daniel Jones
9403175f0a
Fix spurious spaces in variable expansions.
2014-04-17 10:27:20 -07:00
Daniel Jones
39aebf9e77
Fix a bug in which variables in prereq lists would get modified.
2014-04-17 09:48:45 -07:00
Daniel Jones
18b729821f
Add a switch '-r' that farces rebuild of just the immediate targets.
2014-03-24 23:19:33 -07:00
Daniel Jones
ccd90668b9
Anchor regex meta-rules.
2014-02-01 19:13:27 -08:00
Daniel Jones
75d67f9fdb
Substitute matches in prereqs in regex meta-rules.
2014-02-01 19:03:11 -08:00
Daniel Jones
b9a5986fc7
Fixes for parsing regex meta-rules.
2014-02-01 18:19:26 -08:00
Daniel Jones
0cc6493a56
Allow recipes to end with EOF.
2013-08-19 00:05:17 -07:00
Daniel Jones
6ef6f52936
Tokenize output from shell expansions. ( Fixes #1 )
2013-08-18 22:21:25 -07:00
Daniel Jones
a005edc4a7
Fix an issue with shell expansions.
2013-08-13 13:03:21 -07:00
Daniel Jones
c44de7fb69
Get rid of an unneeded mutex.
2013-08-05 07:32:21 -07:00
Daniel Jones
ce54fa1868
Fix expanded bracketed sigils.
2013-07-28 21:16:50 -07:00
Daniel Jones
dc4276690a
Don't rebuild nodes whose prereqs have been deleted.
2013-07-28 19:01:58 -07:00
Daniel Jones
1eb840af57
Add at 'X' attribute to indicate rules that are not to be run concurrently with anything
2013-07-09 23:13:37 -07:00
Daniel Jones
782a73e0d9
Fix handling of rules with multiple targets.
2013-07-09 22:39:59 -07:00
Daniel Jones
fc1d2ebfb8
Better handling of recipes and subprocesses.
2013-07-09 12:33:25 -07:00
Daniel Jones
bd5c30c30a
Fix a bugs in assignment parsing.
2013-04-28 13:25:13 -07:00
Daniel Jones
b7df226f0d
Fix "up-to-date" logic.
2013-04-24 11:36:24 -07:00
Daniel Jones
3bdc96019f
Fix a virtual target bug. Add an '-i' option.
2013-04-06 11:35:21 -07:00
Daniel Jones
64263686cb
Fix false-positives when detecting ambiguous rules.
2013-03-29 22:19:10 -07:00
Daniel Jones
913af90c60
Fix variables in recipes, prefix expansion, and -a switch behavior
2013-03-18 20:37:01 -07:00
Daniel Jones
82ec5bfab4
Tweaks to output.
2013-03-18 20:35:56 -07:00
Daniel Jones
1ab6af4d3c
Readme links.
2013-03-10 19:08:43 -07:00
Daniel Jones
a2758a3c02
Add LICENSE
2013-03-10 19:06:25 -07:00
Daniel Jones
587bdd6c63
Variable expansion bug.
2013-03-10 00:34:42 -08:00
Daniel Jones
8cbbe9c53c
Fix a number of things.
2013-03-09 20:54:13 -08:00
Daniel Jones
6e0d8979be
Graph pruning.
2013-03-09 19:27:28 -08:00
Daniel Jones
ceac4466a5
Implement -a and -p arguments.
2013-03-04 00:06:24 -08:00
Daniel Jones
034b895b15
ruleset.go -> rules.go
2013-03-03 23:32:36 -08:00
Daniel Jones
467d1d3d44
Prettier printing.
2013-03-03 18:57:14 -08:00
Daniel Jones
8a218f35c0
go fmt
2013-03-03 17:51:00 -08:00
Daniel Jones
ee70f46012
Concurrent rule execution.
2013-03-03 17:50:00 -08:00
Daniel Jones
115d8425be
Fix issues with variable expansion.
2013-03-02 10:57:40 -08:00
Daniel Jones
207e052372
Work on graph build and metarule matching.
2013-03-02 00:34:31 -08:00
Daniel Jones
f812efe3ad
Some more work on string expansion.
2013-02-28 22:49:34 -08:00
Daniel Jones
084a45fc74
Work on string expansion.
2013-02-26 22:41:25 -08:00
Daniel Jones
6da2555966
More parsing. Go fmt.
2013-02-26 11:33:07 -08:00
Daniel Jones
d129ff285c
Sketching out the parser.
2013-02-25 23:52:08 -08:00