projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582b621
)
rconv.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 19 Sep 2011 02:14:07 +0000
(10:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 19 Sep 2011 02:14:07 +0000
(10:14 +0800)
rconv.js
patch
|
blob
|
history
diff --git
a/rconv.js
b/rconv.js
index
718844b
..
a7be79d
100644
(file)
--- a/
rconv.js
+++ b/
rconv.js
@@
-31,7
+31,7
@@
args.shift();
if (File.isFile(args[0])) {
- createTest(args[0]);
+ createTest(args[0]
, true
);
} else {
File.list(args[0]).forEach(function(a) {
@@
-49,11
+49,11
@@
print( " diff -w -u /tmp/rconv_orig /tmp/rconv_gen/");
-function createTest(fn) {
+function createTest(fn
, force
) {
// does it have a .bjs file..
var bjs = fn.replace(/\.js$/, '.bjs');
- if (!File.exists(bjs)) {
+ if (!
force && !
File.exists(bjs)) {
return true;
}