1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 20:15:05 +03:00
just/notes

66 lines
2.2 KiB
Plaintext
Raw Normal View History

2016-09-30 07:45:53 +03:00
notes
-----
2016-10-24 03:13:06 +03:00
- parse arguments on command line by name:
. j build a=hello
. by position: j build hello
. with marker: j a 1 : hello 2 :
. could also allow this to override variables
although maybe only after a '--': j build -- a=hello
- parse lines into {{fragments}} and allow argument substitution
- change error messages to underline problem token
2016-10-23 09:18:26 +03:00
- should i use // comments, since that's what's used in rust?
2016-10-24 03:13:06 +03:00
- allow calling recipes in a justfile in a different directory:
- just ../foo # ../justfile:foo
- just xyz/foo # xyz/justfile:foo
- just xyz/ # xyz/justfile:DEFAULT
- assignment
. export environment variables
. no barewords
- indentation is line continuation
- static errors when variables are missing {{}}, even if recipe isn't run
2016-10-17 04:59:49 +03:00
2016-10-24 03:13:06 +03:00
- change name back to 'just'
. suggest j as alias
2016-10-24 03:32:18 +03:00
- create some kind of group feedback forum:
. email list, reddit
2016-10-24 03:13:06 +03:00
- change description to "a polyglot command runner"?
2016-10-24 03:32:18 +03:00
- update readme
2016-10-24 03:13:06 +03:00
- document all code, including private stuff
(can this be enforced with a lint?)
#![deny(missing_docs)]
- note that shell is invoked with -cu, explain -c and -u
- document all features with example justfiles
(also make them runnable as tests)
. update tarball dep
. check version string
2016-10-17 04:59:49 +03:00
. clean
. update logs (repetitive git flow)
- full documentation
. habit of using clever commands and writing little scripts
. very low friction to write a script (no new file, chmod, add to rcs)
. make list of contributors, include travis
. alias .j='just -j ~/.justfile -d ~'
2016-10-24 03:13:06 +03:00
- vim and emacs syntax hilighting (use makefile syntax hilighting for now)
- split up code into modules for easier reading
. parsing
. tokenizing
. executing
- make sure there isn't any unused code
2016-10-17 04:59:49 +03:00
2016-10-24 03:13:06 +03:00
- try to get some users
. facebook friends
. irc
. r/rust
2016-10-17 04:59:49 +03:00
2016-10-24 03:13:06 +03:00
later:
- preludes:
may be nice to allow all recipes in a given langauge to share
functions, variables, etc. could have a "prelude" recipe
which was included as a prefix to other recipes
- windows support: currently calling 'sh', which won't work on windows
2016-10-24 03:13:06 +03:00
the answer will probably be to write a 'sh' clone and to only
call binaries from cargo
- run recipes asyncronously
- lint with clippy once it runs on stable