projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix attribute
[roojs1]
/
buildSDK
/
css-minify-bootstrap.js
diff --git
a/buildSDK/css-minify-bootstrap.js
b/buildSDK/css-minify-bootstrap.js
index
1efe010
..
322fd7d
100644
(file)
--- a/
buildSDK/css-minify-bootstrap.js
+++ b/
buildSDK/css-minify-bootstrap.js
@@
-5,14
+5,17
@@
GLib = imports.gi.GLib;
// let's see if this works..
// should be run from top level..
var pa = GLib.get_current_dir();
// 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(/roojs
1
$/)) {
print("this should be run from the top level directory")
Seed.quit();
}
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 out = '';
+var debug_out = '';
files.forEach(function(f) {
if (f.match(/^roojs/)) {
return;
files.forEach(function(f) {
if (f.match(/^roojs/)) {
return;
@@
-24,11
+27,12
@@
files.forEach(function(f) {
return;
}
return;
}
+ debug_out += "@import url('./" + f + "');\n";
out += pack(File.read(pa + '/css-bootstrap/' +f ));
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.css', out);
+File.write(pa+'/css-bootstrap/roojs-bootstrap-debug.css', debug_out);
\ No newline at end of file
\ No newline at end of file