Files
sdk/utils/css/css
T
terry@google.com 91dd628bd8 More changes for CSS to run under VM.
Need unique name for library collision with template parser.

Few more changes to work under VM.

More changes for lang.dart seperation.

Seperation from lang.dart (tokenizer can't access private fields of base class in another library).  This was allowed in frog but not in the VM.  VM is right so need to sever dependency.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9695048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5544 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 21:19:54 +00:00

26 lines
545 B
Bash
Executable File

#!/bin/bash
# To pre-process CSS files, run this script with the path to a .scss file, like:
#
# $ $DART/utils/css/css foo.scss foo.css
#
# To use your Dart VM must be on your $PATH e.g.,
#
# export PATH=$PATH:/home/<your name>/dart-all/dart/out/Release_ia32/
SRCFILE=$PWD/$1
OUTPUT=$PWD/$2
if [[ $1 == $2 ]]
then
echo -e "\033[31msource file must be different then output file\033[0m"
exit 1
fi
# Path of this bash script.
BASE_DIR="$( cd "$( dirname "$0" )" && pwd )"
# Pre-process the file
dart $BASE_DIR/tool.dart $SRCFILE $OUTPUT