Update notes

This commit is contained in:
Casey Rodarmor 2016-10-23 23:40:16 -07:00
parent 40788ebabd
commit 19e015d094

3
notes
View File

@ -1,7 +1,6 @@
notes notes
----- -----
- parse lines into {{fragments}}
- assignment - assignment
. export environment variables . export environment variables
. no barewords . no barewords
@ -10,6 +9,7 @@ notes
. '' strings with no escapes . '' strings with no escapes
. except {{ and }} are special and an be escaped \{{hello}} = "{{hello}}" . except {{ and }} are special and an be escaped \{{hello}} = "{{hello}}"
. allow concatination: "hello, " + person + "!" . allow concatination: "hello, " + person + "!"
. resolve dependencies between variables
. static errors when variables are missing {{}}, even if recipe isn't run . static errors when variables are missing {{}}, even if recipe isn't run
- write some tests to test the binary itself and all command line flags - write some tests to test the binary itself and all command line flags
- parse arguments on command line: - parse arguments on command line:
@ -17,6 +17,7 @@ notes
. by position: j build hello . by position: j build hello
. with marker: j build hello : clean hello : . with marker: j build hello : clean hello :
. after -- : j build -- foo baz . after -- : j build -- foo baz
. fast errors when arguments are missing
. could also allow this to override variables . could also allow this to override variables
although maybe only after a '--': j build -- a=hello although maybe only after a '--': j build -- a=hello
. sub arguments into recipes . sub arguments into recipes