roojs-ui.js
[roojs1] / buildSDK / css-minify-bootstrap.js
index 4143056..322fd7d 100644 (file)
@@ -12,8 +12,10 @@ if (!pa.match(/roojs1$/)) {
     Seed.quit();
 }
 
-var files = Files.list(pa + '/css-bootstrap');
+var files = File.list(pa + '/css-bootstrap');
+
 var out = '';
+var debug_out = '';
 files.forEach(function(f) {
     if (f.match(/^roojs/)) {
         return;
@@ -25,11 +27,12 @@ files.forEach(function(f) {
         return;
     }
     
+    debug_out += "@import url('./" + f + "');\n";
     out += pack(File.read(pa + '/css-bootstrap/' +f ));
+    print(f);
 });
 
-
-
-
 File.write(pa+'/css-bootstrap/roojs-bootstrap.css', out);
+File.write(pa+'/css-bootstrap/roojs-bootstrap-debug.css', debug_out);
     
\ No newline at end of file