[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10487)
Jason Hickey
jyh at cs.caltech.edu
Mon Apr 23 19:12:34 PDT 2007
Process the #! lines. For example, you can start your file with
#!omake --verbose
This means that if you write a script "foo" beginning with:
#!/usr/bin/env osh <options>
then the following are the same.
% ./foo
% osh foo
Another point is that the options are processed at parse time,
so options like -warn-error are handled correctly.
----
Changes:
+4 -3 omake-branches/0.9.8.x/src/ast/omake_ast.ml
+7 -3 omake-branches/0.9.8.x/src/ast/omake_ast_print.ml
+10 -6 omake-branches/0.9.8.x/src/ast/omake_ast_util.ml
+5 -5 omake-branches/0.9.8.x/src/builtin/omake_builtin_rule.ml
+16 -2 omake-branches/0.9.8.x/src/env/omake_ast_lex.mll
+11 -0 omake-branches/0.9.8.x/src/env/omake_ast_parse.input
+14 -7 omake-branches/0.9.8.x/src/env/omake_env.ml
+3 -2 omake-branches/0.9.8.x/src/env/omake_env.mli
+14 -0 omake-branches/0.9.8.x/src/env/omake_ir_ast.ml
+2 -1 omake-branches/0.9.8.x/src/ir/omake_symbol.ml
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-04.html#07/04/23.19:12:34
More information about the OMake-CVS
mailing list