1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/97063e8da923/ Changeset: 97063e8da923 User: guerler Date: 2014-03-14 05:00:35 Summary: Charts: Use grunt for build process Affected #: 12 files diff -r 9319b29c6024cd3825c6777f8e55d79ca1264936 -r 97063e8da923eac2f9abc0bf256f4a7c98b0acec config/plugins/visualizations/charts/Gruntfile.js --- /dev/null +++ b/config/plugins/visualizations/charts/Gruntfile.js @@ -0,0 +1,24 @@ +// NOTE: use 'sudo npm install .', then 'grunt' to use this file +module.exports = function(grunt) { + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + requirejs: { + compile: { + options: { + baseUrl : "../../../../static/scripts/", + paths : { + "plugin": "../../config/plugins/visualizations/charts/static" + }, + shim : { + "libs/underscore": { exports: "_" }, + "libs/backbone/backbone": { exports: "Backbone" } + }, + name : "plugin/app", + out : "static/build-app.js", + } + } + } + }); + grunt.loadNpmTasks('grunt-contrib-requirejs'); + grunt.registerTask( 'default', [ 'requirejs' ]); +}; diff -r 9319b29c6024cd3825c6777f8e55d79ca1264936 -r 97063e8da923eac2f9abc0bf256f4a7c98b0acec config/plugins/visualizations/charts/build/build.js --- a/config/plugins/visualizations/charts/build/build.js +++ /dev/null @@ -1,12 +0,0 @@ -({ - baseUrl : "../../../../../static/scripts/", - paths : { - "plugin": "../../config/plugins/visualizations/charts/static" - }, - shim : { - "libs/underscore": { exports: "_" }, - "libs/backbone/backbone": { exports: "Backbone" } - }, - name : "plugin/app", - out : "../static/build-app.js", -}) \ No newline at end of file diff -r 9319b29c6024cd3825c6777f8e55d79ca1264936 -r 97063e8da923eac2f9abc0bf256f4a7c98b0acec config/plugins/visualizations/charts/build/build.sh --- a/config/plugins/visualizations/charts/build/build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -node r.js -o build.js \ No newline at end of file This diff is so big that we needed to truncate the remainder. Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.