projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Packer.vala
[gnome.introspection-doc-generator]
/
JSDOC
/
Packer.vala
diff --git
a/JSDOC/Packer.vala
b/JSDOC/Packer.vala
index
eb409c5
..
3e2005f
100644
(file)
--- a/
JSDOC/Packer.vala
+++ b/
JSDOC/Packer.vala
@@
-96,7
+96,7
@@
namespace JSDOC
* usefull for debugging compressed files.
*/
* usefull for debugging compressed files.
*/
- public bool keepWhite =
tru
e;
+ public bool keepWhite =
fals
e;
// list of files to compile...
// list of files to compile...
@@
-312,11
+312,16
@@
namespace JSDOC
}
}
}
}
- print("Output file: " + this.target);
+ if (this.target.length > 0 ) {
+ print("Output file: " + this.target);
+ }
if (this.targetDebug.length > 0) {
if (this.targetDebug.length > 0) {
- print("Output debug file: " + this.targetDebug);
- }
-
+ print("Output debug file: %s\n" , this.targetDebug);
+ }
+
+ if (this.outstr.length > 0 ) {
+ print(this.outstr);
+ }
@@
-373,7
+378,7
@@
namespace JSDOC
var outf = CompressWhite(new TokenStream(toks.tokens), this, this.keepWhite); // do not kill whitespace..
var outf = CompressWhite(new TokenStream(toks.tokens), this, this.keepWhite); // do not kill whitespace..
- print(outf);
+ print(
"RESULT: \n %s\n",
outf);
if (outf.length > 0) {
FileUtils.set_contents(minfile, outf);
if (outf.length > 0) {
FileUtils.set_contents(minfile, outf);