Skip to content

Commit

Permalink
Merge pull request #39 from grafana/fixlogo
Browse files Browse the repository at this point in the history
fix logo paths
  • Loading branch information
bergquist committed Dec 20, 2016
2 parents d6f0e93 + 1793260 commit 205cf4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
14 changes: 4 additions & 10 deletions Gruntfile.js
Expand Up @@ -13,25 +13,19 @@ module.exports = function(grunt) {
src_to_dist: {
cwd: 'src',
expand: true,
src: ['**/*', '!**/*.js', '!**/*.scss', '!img/*', '!src/plugin.json'],
src: ['**/*', '!**/*.js', '!**/*.scss'],
dest: 'dist'
},
img_to_dist: {
cwd: 'src',
expand: true,
src: ['img/*'],
dest: 'dist/src/'
},
pluginDef: {
expand: true,
src: [ 'plugin.json', 'README.md' ],
src: ['README.md'],
dest: 'dist'
}
},

watch: {
rebuild_all: {
files: ['src/**/*', 'plugin.json'],
files: ['src/**/*'],
tasks: ['default'],
options: {spawn: false}
}
Expand Down Expand Up @@ -84,5 +78,5 @@ module.exports = function(grunt) {
}
});

grunt.registerTask('default', ['clean', 'copy:src_to_dist','copy:img_to_dist', 'copy:pluginDef', 'babel', 'mochaTest']);
grunt.registerTask('default', ['clean', 'copy:src_to_dist', 'copy:pluginDef', 'babel', 'mochaTest']);
};
File renamed without changes
4 changes: 2 additions & 2 deletions dist/plugin.json
Expand Up @@ -17,8 +17,8 @@
"url": "http://raintank.io"
},
"logos": {
"small": "src/img/simpleJson_logo.svg",
"large": "src/img/simpleJson_logo.svg"
"small": "img/simpleJson_logo.svg",
"large": "img/simpleJson_logo.svg"
},
"links": [
{"name": "GitHub", "url": "https://github.com/grafana/simple-json-datasource"},
Expand Down
4 changes: 2 additions & 2 deletions src/plugin.json
Expand Up @@ -17,8 +17,8 @@
"url": "http://raintank.io"
},
"logos": {
"small": "src/img/simpleJson_logo.svg",
"large": "src/img/simpleJson_logo.svg"
"small": "img/simpleJson_logo.svg",
"large": "img/simpleJson_logo.svg"
},
"links": [
{"name": "GitHub", "url": "https://github.com/grafana/simple-json-datasource"},
Expand Down

0 comments on commit 205cf4c

Please sign in to comment.