Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set package versions in auth generator, pretty-print the secrets.json

  • Loading branch information...
commit e664f82c4b48504a120ad92175cf23105742891f 1 parent bb90185
mde authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 templates/Jakefile
7 templates/Jakefile
View
@@ -64,7 +64,7 @@ addSecretData = function (obj) {
try {
secrets = JSON.parse(fs.readFileSync(secretsFile));
utils.mixin(secrets, obj);
- fs.writeFileSync(secretsFile, JSON.stringify(secrets));
+ fs.writeFileSync(secretsFile, JSON.stringify(secrets, null, 2));
}
catch (e) {
throw new Error('Could not parse secrets.json file');
@@ -736,8 +736,9 @@ namespace('auth', function () {
task('init', {async: true}, function () {
var go = false
- , packages = 'geddy-passport passport passport-local ' +
- 'passport-facebook passport-twitter'
+ // FIXME: Pull these version numbers out of geddy-passport's package.json
+ , packages = 'geddy-passport@0.0.x passport@0.1.x passport-local@0.1.x ' +
+ 'passport-facebook@0.1.x passport-twitter@0.1.x'
, readline = require('readline')
, rl = readline.createInterface({
input: process.stdin
Please sign in to comment.
Something went wrong with that request. Please try again.