// let's see if this works..
// should be run from top level..
var pa = GLib.get_current_dir();
+print(pa);
-if (!pa.match(/roojs$/)) {
+if (!pa.match(/roojs1$/)) {
print("this should be run from the top level directory")
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;
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