From f116cb8de824a3d9d03acbd698e545cf5ca5331f Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 11 Oct 2018 11:35:26 -0400 Subject: [PATCH] Drop more grunt cruft --- doc/source/dev/faq.rst | 6 +----- static/GruntFile.js | 45 ------------------------------------------ 2 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 static/GruntFile.js diff --git a/doc/source/dev/faq.rst b/doc/source/dev/faq.rst index 9935b07866d..dff8405bdcf 100644 --- a/doc/source/dev/faq.rst +++ b/doc/source/dev/faq.rst @@ -14,14 +14,10 @@ This can be done with either IPython or a plain Python console, depending on you ... build Galaxy Javascript frontend client? -------------------------------------------- -We've added a makefile which will let you do this. You can simple run:: +We've added a makefile which will let you do this. You can simply run:: make client -If you prefer docker and aren't a JS developer primarily, you can run - - make grunt-docker - Please see the ``Makefile`` itself for details and other options. There is also a readme at ``client/README.md``. diff --git a/static/GruntFile.js b/static/GruntFile.js deleted file mode 100644 index 0f05caf01cb..00000000000 --- a/static/GruntFile.js +++ /dev/null @@ -1,45 +0,0 @@ -'use strict'; - -module.exports = function (grunt) { - "use strict"; - - var GALAXY_PATHS = { - dist: '../static/scripts', - maps: '../static/maps', - // this symlink allows us to serve uncompressed scripts in DEV_PATH for use with sourcemaps - srcSymlink: '../static/src' - }, - TOOLSHED_PATHS = { - dist: '../static/toolshed/scripts', - maps: '../static/toolshed/maps', - srcSymlink: '../static/toolshed/src' - }; - - grunt.config.set('app', 'galaxy'); - grunt.config.set('paths', GALAXY_PATHS); - if (grunt.option('app') === 'toolshed') { - grunt.config.set('app', grunt.option('app')); - grunt.config.set('paths', TOOLSHED_PATHS); - } - - grunt.config.set('babel', { options: { - sourceMap: true, - presets: ['env'] - }, - dist: { - files: [{ - 'expand': true, - 'src': ["**/*.js"], - 'dest': '../static/' - }] - } - }); - - grunt.loadNpmTasks('grunt-check-modules'); - grunt.loadNpmTasks('grunt-babel'); - // see the sub directory grunt-tasks/ for individual task definitions - grunt.loadTasks('grunt-tasks'); - // note: 'handlebars' *not* 'templates' since handlebars doesn't call uglify - grunt.registerTask('default', ['check-modules', 'webpack', 'babel', 'uglify']); -}; -//# sourceMappingURL=GruntFile.js.map