2 File = imports.File.File;
3 pack = imports.MinifyCSS.pack;
4 GLib = imports.gi.GLib;
5 // let's see if this works..
6 // should be run from top level..
7 var pa = GLib.get_current_dir();
10 if (!pa.match(/roojs1$/)) {
11 print("this should be run from the top level directory")
15 var files = File.list(pa + '/css-bootstrap');
19 files.forEach(function(f) {
20 if (f.match(/^roojs/)) {
23 if (f.match(/^bootstrap/)) {
26 if (f.match(/^font-awesome/)) {
30 debug_out += "@import url('./" + f + "');\n";
31 out += pack(File.read(pa + '/css-bootstrap/' +f ));
36 File.write(pa+'/css-bootstrap/roojs-bootstrap.css', out);
37 File.write(pa+'/css-bootstrap/roojs-bootstrap-debug.css', debug_out);