Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update interner version to v0.0.6-011
- Loading branch information
kuno
committed
Apr 15, 2011
1 parent
f3374f9
commit 2091fc5
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version":"0.0.6-010", | ||
"version":"0.0.6-011", | ||
"installNPM":true, | ||
"timeFormat":"GMT", | ||
"idLenStandard":8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
var util = require('util'), | ||
howto = require('./howto.js'), | ||
version = require('../../include/meta.js').version; | ||
var fs = require('fs'), | ||
path = require('path'), | ||
util = require('util'), | ||
howto = require('./howto.js'); | ||
|
||
exports.run = function(argv) { | ||
var config = process.neco.config, | ||
pkgJSON = path.join(config.pkgDir, 'package.json'), | ||
version = JSON.parse(fs.readFileSync(pkgJSON, 'utf8')).version; | ||
if (argv.cmd === '-v' || argv.cmd === '--version') { | ||
util.puts(version); | ||
} else if (argv.cmd === '-h' || argv.cmd === '--help' || argv.cmd === '--howto') { | ||
} else if (argv.cmd === '-h' || argv.cmd === '--help') { | ||
howto.run(argv); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters