Created
August 25, 2014 14:34
-
-
Save jasonvarga/49a51618df94433fc480 to your computer and use it in GitHub Desktop.
Statamic Add-on Gruntfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = -> | |
@initConfig | |
sandbox: '/users/jason/sites/statamic-sandbox' | |
copy: | |
sandbox: | |
files: [ | |
expand: true | |
cwd: '_add-ons/calendar/' | |
src: '**' | |
dest: '<%= sandbox %>/_add-ons/calendar/' | |
] | |
watch: | |
options: | |
livereload: true | |
php: | |
files: ['_add-ons/calendar/*.php'] | |
tasks: ['copy'] | |
sandbox: | |
files: ['<%= sandbox %>/{_content,_themes}/**/*.*'] | |
@loadNpmTasks 'grunt-contrib-watch' | |
@loadNpmTasks 'grunt-contrib-copy' | |
@registerTask 'default', ['watch'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment