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();
9 if (!pa.match(/roojs$/)) {
10 print("this should be run from the top level directory")
14 var files = Files.list(pa + '/css-bootstrap');
16 files.forEach(function(f) {
17 if (f.match(/^roojs/)) {
20 if (f.match(/^bootstrap/)) {
23 out += pack(File.read(pa + '/css-bootstrap/' +f ));
29 File.write(pa+'/css-bootstrap/roojs-bootstrap.css', out);