On Wednesday, January 22, 2014 1:23:56 PM UTC-5, [email protected] wrote:
>
>
> I'm not aware of an existing issue that would cause this, though it 
> definitely sounds like something is broken. You were able to get hello.c to 
> compile at least once though, correct? It is only when you try changing 
> hello.c and re-running that it does not get compiled?
>
> Do any of the test cases work for you? You can try them from the git tree 
> by doing:
>
> cd tup/test
> ./test.sh t4000-compile-c.sh
>
> That's a pretty basic compiler test, similar to the hello-world example.
>
>
>
OK, it seems Sublime Text has a role in this issue.
When I modify a text file using vim and do a 'tup upd', it works as 
expected.
However when I modify the same file using Sublime Text, even though "ls" 
shows that size and date/time of the file have been modified, but 'tup upd' 
doesn't pick up the change and hence no command is run:

before saving using Sublime Text:
$ ls
-rw-r--r--  1 user  1000      742 Jan 27 04:46 alfitem.h

after:
$ ls
-rw-r--r--  1 user  1000      743 Jan 27 04:49 alfitem.h

$ tup upd
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.001s] Reading in new environment variables...
[ tup ] [0.001s] No Tupfiles to parse.
[ tup ] [0.001s] No files to delete.
[ tup ] [0.001s] No commands to execute.
[ tup ] [0.001s] Updated.

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to