Skip to content

Commit daeb056

Browse files
authored
Change location of aws credentials json file (#696)
1 parent 0184ca3 commit daeb056

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ scratch/
2020

2121
.idea
2222
*.sublime-*
23-
aws.json

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "0.12"
4+
- "4"
55
script:
66
- node_modules/.bin/grunt test

Gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
module.exports = function(grunt) {
44
var _ = require('lodash');
55
var path = require('path');
6+
var os = require('os');
67
var through = require('through2');
78
var proxyquire = require('proxyquireify');
89
var versionify = require('browserify-versionify');
@@ -163,9 +164,10 @@ module.exports = function(grunt) {
163164
});
164165

165166

167+
var awsConfigPath = path.join(os.homedir(), '.aws', 'raven-js.json');
166168
var gruntConfig = {
167169
pkg: grunt.file.readJSON('package.json'),
168-
aws: grunt.file.exists('aws.json') ? grunt.file.readJSON('aws.json'): {},
170+
aws: grunt.file.exists(awsConfigPath) ? grunt.file.readJSON(awsConfigPath): {},
169171

170172
clean: ['build'],
171173

0 commit comments

Comments
 (0)