Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: utils/css/css

Issue 9695048: Template parser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix GIT mixup - ugh Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/css/css
diff --git a/utils/css/css b/utils/css/css
new file mode 100755
index 0000000000000000000000000000000000000000..a3d5df7e669c21780aea3a652b475e20ea5f6b41
--- /dev/null
+++ b/utils/css/css
@@ -0,0 +1,20 @@
+#!/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
+#
+
+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
+$BASE_DIR/../../frog/minfrog --libdir=$BASE_DIR/../../frog/lib $BASE_DIR/tool.dart $SRCFILE $OUTPUT
Siggi Cherem (dart-lang) 2012/03/15 01:21:25 switch to run tool.dart directly in the vm?
terry 2012/03/15 19:02:49 Done.
« no previous file with comments | « frog/file_system_memory.dart ('k') | utils/css/css.dart » ('j') | utils/css/cssoptions.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698