Update notes

This commit is contained in:
Casey Rodarmor 2016-10-29 13:44:23 -07:00
parent 41933385a3
commit 362158d1da

9
notes
View File

@ -1,6 +1,12 @@
notes notes
----- -----
- deferred evaluation, even though it's good for testing, is a bad idea
i should have a resolve assignments phase which just checks,
an evaluate assignments phase which runs before any recipe
and a evaluate recipe phase that runs when a recipe is run
and produces the evaluated lines
- save result of commands in variables - save result of commands in variables
. backticks: `echo hello` . backticks: `echo hello`
. backticks in assignments are evaluated before the first recipe is run . backticks in assignments are evaluated before the first recipe is run
@ -14,6 +20,8 @@ notes
. eval shebang recipes all at once, but plain recipes line by line . eval shebang recipes all at once, but plain recipes line by line
. we want to avoid executing backticks before we need them . we want to avoid executing backticks before we need them
- nicely convert a map to option string to a map to string
- set variables from the command line: - set variables from the command line:
. j --set build linux . j --set build linux
. j build=linux . j build=linux
@ -61,6 +69,7 @@ notes
enhancements: enhancements:
- use cow strings where we currently use String
- colored error messages - colored error messages
- multi line strings (maybe not in recipe interpolations) - multi line strings (maybe not in recipe interpolations)
- raw strings with '' - raw strings with ''