Mercurial > MadButterfly
view nodejs/run.sh @ 973:84f502fb3e40
Rewrite the MBScene to use framelines. The old layers/scenes data structure is used to load the scenes only. We should remove it completely in the future.
author | wycc |
---|---|
date | Sat, 20 Nov 2010 11:45:17 +0800 |
parents | 652199a55802 |
children | 613a7caa9bd6 |
line wrap: on
line source
#!/bin/sh ABS=`realpath $0` BASE=`dirname $ABS` NODE_PATH=$BASE:$BASE/objs/default:$NODE_PATH export NODE_PATH DIR=`dirname $1` FNAME=`basename $1` cd $DIR; node $FNAME