Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2007-05-13 09:36:03 -0700 (Sun, 13 May 2007)
Revision: 10727
Log message:
Added the "OMake filesystem".
It is pretty simple. When you ask for a file, omake tries
to build it, and if successful, returns a symlink to the file.
Phony targets work too, but the symlink is junk (I should probably
change it so you can at least cat the file).
<jyh@jaoquin 1226>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile.omc@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
<jyh@jaoquin 1227>cat /tmp/fuse/dir1/hello.txt
cat: /tmp/fuse/dir1/hello.txt: No such file or directory
Exit 1
<jyh@jaoquin 1228>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile.omc@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
<jyh@jaoquin 1229>cat /tmp/fuse/dir1/hello.txt
hello
<jyh@jaoquin 1230>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile.omc@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 hello.txt@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/hello.txt
<jyh@jaoquin 1231>ls /tmp/fuse/clean
/tmp/fuse/clean: No such file or directory.
<jyh@jaoquin 1232>ls -l /tmp/fuse/dir1
total 0
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile
lrwxrwxrwx 1 root wheel 0 Dec 31 1969 OMakefile.omc@ -> /Users/jyh/projects/omake/git/dll-fuse/tests/dll/fuse/omakefs/dir1/OMakefile.omc