A simple script to compile within CEAN:
Posted: 30 July 2007 09:04 PM   [ Ignore ]
Newbie
Rank
Total Posts:  10
Joined  2007-04-16

While developping within CEAN I have to compile some code and test it. So I made a script to easily compile my code

copy the file start.sh and name it compile.sh.

change the last line and write:
$BINDIR/erlc -o erlang/lib/$1*/ebin erlang/lib/$1*/src/*erl

Now if your project is named test-0.1 you can compile it with:
./compile.sh test

smile

Profile
 
 
Posted: 31 July 2007 09:31 AM   [ Ignore ]   [ # 1 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

yeah ! good idea.

Profile