projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
08fb272
)
JSDOC/Packer.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 2 Nov 2015 09:27:56 +0000
(17:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 2 Nov 2015 09:27:56 +0000
(17:27 +0800)
JSDOC/Packer.vala
patch
|
blob
|
history
diff --git
a/JSDOC/Packer.vala
b/JSDOC/Packer.vala
index
3976e18
..
11f36fd
100644
(file)
--- a/
JSDOC/Packer.vala
+++ b/
JSDOC/Packer.vala
@@
-64,11
+64,14
@@
namespace JSDOC
* @cfg {String} target to write files to - must be full path.
*/
string target;
* @cfg {String} target to write files to - must be full path.
*/
string target;
+ FileOutputStream targetStream = null;
/**
* @cfg {String} debugTarget target to write files debug version to (uncompacted)- must be full path.
*/
string targetDebug;
/**
* @cfg {String} debugTarget target to write files debug version to (uncompacted)- must be full path.
*/
string targetDebug;
-
+
+
+ FileOutputStream targetDebugStream = null;
/**
* @cfg {String} tmpDir (optional) where to put the temporary files.
* if you set this, then files will not be cleaned up
/**
* @cfg {String} tmpDir (optional) where to put the temporary files.
* if you set this, then files will not be cleaned up
@@
-117,8
+120,7
@@
namespace JSDOC
this.files.add(f); //?? easier way?
}
}
this.files.add(f); //?? easier way?
}
}
- FileOutputStream targetStream = null;
- FileOutputStream targetDebugStream = null;
+
public void pack()
{
public void pack()
{
@@
-321,6
+323,8
@@
namespace JSDOC
print("using MIN FILE "+ minfile);
if (str.length) {
if (this.target) {
print("using MIN FILE "+ minfile);
if (str.length) {
if (this.target) {
+ this.debugTarget.write(file_contents);
+
File.append(this.target, '//' + file + "\n");
File.append(this.target, str + "\n");
} else {
File.append(this.target, '//' + file + "\n");
File.append(this.target, str + "\n");
} else {