Skip to content

Commit

Permalink
script: changing Gruntfile to use src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dennybiasiolli committed Nov 24, 2016
1 parent cabc428 commit 691f7c9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = function(grunt) {
all: [
'example/js/directives/angular-pdf.js',
'example/js/lib/*.js',
'dist/angular-pdf.js',
'dist/angular-pdf.min.js'
]
},
Expand All @@ -45,7 +46,13 @@ module.exports = function(grunt) {
files: [
{
expand: true,
cwd: 'dist',
cwd: 'src',
src: [ 'angular-pdf.js' ],
dest: 'dist/'
},
{
expand: true,
cwd: 'src',
src: [ 'angular-pdf.js' ],
dest: 'example/js/directives/'
},
Expand All @@ -70,7 +77,7 @@ module.exports = function(grunt) {
jscs: {
src: [
'Gruntfile.js',
'dist/angular-pdf.js'
'src/angular-pdf.js'
],
options: {
config: '.jscsrc'
Expand All @@ -84,7 +91,7 @@ module.exports = function(grunt) {
},
src: [
'Gruntfile.js',
'dist/angular-pdf.js'
'src/angular-pdf.js'
]
}
},
Expand Down

0 comments on commit 691f7c9

Please sign in to comment.