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