From b2a5894929d8139cc5fb36a4f0e02dbd9224d657 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Thu, 9 Jun 2016 16:43:18 +0100 Subject: [PATCH] don't instal config with grunt --- Gruntfile.coffee | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 9ed6ff9275..f65d28c893 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -264,19 +264,6 @@ module.exports = (grunt) -> exec "mkdir -p #{path}", callback async.series jobs, callback - installConfig: (callback = (error) ->) -> - src = "config/settings.development.coffee.example" - dest = "config/settings.development.coffee" - if !fs.existsSync(dest) - grunt.log.writeln "Creating config at #{dest}" - config = fs.readFileSync(src).toString() - config = config.replace /CRYPTO_RANDOM/g, () -> - crypto.randomBytes(64).toString("hex") - fs.writeFileSync dest, config - callback() - else - grunt.log.writeln "Config file already exists. Skipping." - callback() runGruntInstall: (service, callback = (error) ->) -> dir = service.name