Update notes

This commit is contained in:
Casey Rodarmor 2016-10-05 16:08:13 -07:00
parent 2ab75ef03a
commit 18b43786be

18
notes
View File

@ -1,34 +1,32 @@
notes notes
----- -----
todo:
- fix --show to not print final newline, add a helper that iterates over - fix --show to not print final newline, add a helper that iterates over
(item, first, last) (item, first, last)
- comment code
- look through all justfiles for features of make that I use. so far: - look through all justfiles for features of make that I use. so far:
. phony . phony
. SHELL := zsh . SHELL := zsh
. quiet . quiet
. make variables . make variables
- ask travis for his justfiles - ask travis for his justfiles
- comment code
command line arguments:
- --show recipe: print recipe information
execution:
- indent for line continuation
- use sh -c to execute lines
polyglot: polyglot:
- recipes can have shebangs - recipes can have shebangs
- extract and run script - extract and run script
- preserve line numbers - preserve line numbers
- whole file can have shebang - special 'prelude recipe"
. allow launching binaries from cargo . allow launching binaries from cargo
. script until -- . script until --
. all recipes are then in that language? . all recipes are then in that language?
extras: extras:
- args - args can be passed after --, or with some special syntax:
a: 1 2 3 :
- should also add an annotation for recipes
a FOO BAR, export variables FOO and BAR with args
- indent for line continuation
- use launch recipes asyncronously - use launch recipes asyncronously
- ~/.justfile: - ~/.justfile:
. is this for non-project specific commands, so that when you . is this for non-project specific commands, so that when you