Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Jun 3, 2013
1 parent 3637637 commit 6ca9e06
Show file tree
Hide file tree
Showing 5 changed files with 9,662 additions and 0 deletions.
27 changes: 27 additions & 0 deletions mathjs/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');

grunt.initConfig({
pkg: pkg,

download: {
options: {
dest: 'src',
transform: function(code) {
return 'define(function(require, exports, module) {\n' + code + '\n});';
}
},
src: {
url: 'https://raw.github.com/josdejong/mathjs/v<%= pkg.version %>/math.js',
name: 'math.js'
}
}
});

grunt.loadGlobalTasks('spm-build');
grunt.util._.merge(grunt.config.data, require('spm-build').config);

grunt.loadTasks('../_tasks/download/tasks');
grunt.registerTask('build', ['download', 'spm-build']);

};
Loading

0 comments on commit 6ca9e06

Please sign in to comment.