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
(from parent 1:
8df2f3f
)
pack.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 04:42:38 +0000
(12:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 04:42:38 +0000
(12:42 +0800)
pack.js
patch
|
blob
|
history
diff --git
a/pack.js
b/pack.js
index
d05e5c9
..
c8e0d50
100644
(file)
--- a/
pack.js
+++ b/
pack.js
@@
-29,7
+29,9
@@
args.shift(); // pack.js
var cfg = {
files : [],
target : false,
- srcfiles : []
+ srcfiles : [],
+ outputIndex : false,
+ autoversion : false
}
@@
-69,6
+71,14
@@
for(var i =0; i < args.length;i++) {
i++;
continue;
}
+ if (args[i] == '-i') {
+ cfg.outputIndex = true
+ continue;
+ }
+ if (args[i] == '-a') {
+ cfg.autoversion= true
+ continue;
+ }
if (cfg.files.indexOf(args[i]) > -1) {
continue; // remove dupes.
}