Last active
August 29, 2015 13:57
-
-
Save twolfson/9636183 to your computer and use it in GitHub Desktop.
Proof of concept to reproduce https://github.com/twolfson/grunt-curl/issues/15
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
node_modules/ | |
assets/ |
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 = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
curl: { | |
'assets/css/icomoon.css': 'https://s3.amazonaws.com/icomoon.io/27973/ActiveBuilding/style.css', | |
'assets/css/fonts/icomoon.eot': 'https://s3.amazonaws.com/icomoon.io/27973/ActiveBuilding/icomoon.eot', | |
'assets/css/fonts/icomoon.woff': 'https://s3.amazonaws.com/icomoon.io/27973/ActiveBuilding/icomoon.woff', | |
'assets/css/fonts/icomoon.ttf': 'https://s3.amazonaws.com/icomoon.io/27973/ActiveBuilding/icomoon.ttf', | |
'assets/css/fonts/icomoon.svg': 'https://s3.amazonaws.com/icomoon.io/27973/ActiveBuilding/icomoon.svg' | |
} | |
}); | |
grunt.loadNpmTasks('grunt-curl'); | |
// Default task. | |
grunt.registerTask('default', ['curl']); | |
}; |
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
{ | |
"name": "gist-grunt-curl-15", | |
"description": "The best project ever.", | |
"version": "0.1.0", | |
"homepage": "https://github.com/todd/gist-grunt-curl-15", | |
"author": { | |
"name": "Todd Wolfson", | |
"email": "todd@twolfson.com", | |
"url": "http://twolfson.com/" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "git://github.com/todd/gist-grunt-curl-15.git" | |
}, | |
"bugs": { | |
"url": "https://github.com/todd/gist-grunt-curl-15/issues" | |
}, | |
"licenses": [ | |
{ | |
"type": "UNLICENSE", | |
"url": "https://github.com/todd/gist-grunt-curl-15/blob/master/UNLICENSE" | |
} | |
], | |
"main": "index", | |
"engines": { | |
"node": ">= 0.8.0" | |
}, | |
"scripts": { | |
"test": "echo \"No tests =(\" 1>&2 && exit 1" | |
}, | |
"dependencies": { | |
"grunt-curl": "~1.4.0" | |
}, | |
"devDependencies": { | |
"grunt": "~0.4.1" | |
}, | |
"keywords": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment