Deimos: Consistent structure?

Jude Young 10equals2 at gmail.com
Mon Nov 21 00:41:30 PST 2011


young at Dan-Laptop:~/bin$ mkdir mytest
young at Dan-Laptop:~/bin$ cd mytest/
young at Dan-Laptop:~/bin/mytest$ git clone 
git://github.com/D-Programming-Deimos/ncurses
Cloning into 'ncurses'...
remote: Counting objects: 99, done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 99 (delta 44), reused 86 (delta 31)
Receiving objects: 100% (99/99), 73.24 KiB, done.
Resolving deltas: 100% (44/44), done.
young at Dan-Laptop:~/bin/mytest$ l
ncurses/
young at Dan-Laptop:~/bin/mytest$ touch test.d
young at Dan-Laptop:~/bin/mytest$ l
ncurses/  test.d
young at Dan-Laptop:~/bin/mytest$ vim test.d
young at Dan-Laptop:~/bin/mytest$ mkdir otherproject
young at Dan-Laptop:~/bin/mytest$ touch otherproject/curses.d
young at Dan-Laptop:~/bin/mytest$ dmd -I/ncurses test.d
young at Dan-Laptop:~/bin/mytest$ ./test
I didn't bother to actually use the files compile-time will sort that 
outl.
young at Dan-Laptop:~/bin/mytest$ 



Yes DMD will try to compile blank files, yes 'test.d' had the exact 
phrase "import ncurses.curses;"

since git will automatically create the folder 'ncurses' when you clone 
the project, that acts as the root package.
What is wrong with this?

If I'm missing something, please tell me.



More information about the Digitalmars-d mailing list