Hello Kiste,
On 7-01-13 15:44, Oliver Seitz wrote:
I have now found the probably ultimate command line for me to
jalv2 on linux:
echo -e "const compile_date=$(date +%Y%m%d) \nconst compile_time=$(date
+%H%M%S)" | ~/JAL/jallib/compiler/jalv2 -include /dev/stdin $(find
~/JAL/jallib/include -type d \! -path '*.svn*' -printf '-s %p ') $*
Clever! But I'm not so much in favor of one-liners.. I prefer (better
understand) 'structured' scripts.
Question: which version of SubVersion are you using? I'm using 1.7.6 and
have only 1 directory '.svn' (with lots of subdirectories). That may
have changed from 1.6 to 1.7.
It automatically includes all directories under ~/JAL/jallib/include
which do not contain .svn , and defines two constants "compile_date" and
"compile_time" which can be used in the JAL program as a version hint.
How do you include compile_date and _time in your jal program?
Regards, Rob.
--
R. Hamerling, Netherlands --- http://www.robh.nl
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.