roojs-ui.js
[roojs1] / buildSDK / css-minify-bootstrap.js
index 51e9299..322fd7d 100644 (file)
@@ -13,7 +13,7 @@ if (!pa.match(/roojs1$/)) {
 }
 
 var files = File.list(pa + '/css-bootstrap');
-print(files);
+
 var out = '';
 var debug_out = '';
 files.forEach(function(f) {
@@ -26,14 +26,13 @@ files.forEach(function(f) {
     if (f.match(/^font-awesome/)) {
         return;
     }
-    debug_out += "\n/* -- " + f + " ---- */\n";
-    debug_out += File.read(pa + '/css-bootstrap/' +f );
+    
+    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', out);
+File.write(pa+'/css-bootstrap/roojs-bootstrap-debug.css', debug_out);
     
\ No newline at end of file