##// END OF EJS Templates
packaging: switched to nix 20.03 packages and latest pip2nix code...
packaging: switched to nix 20.03 packages and latest pip2nix code - dependencies changed: atomicwrites==1.4.0 ipython==5.10.0 pytest==4.6.9 py==1.8.1 pytest-cov==2.8.1 pytest-sugar==0.9.3 pytest-runner==5.2.0 rhodecode-tools==2.0.0 ipython==5.10.0 mysqlclient==1.4.6 (change from mysql-python, which is deprecated) mako==1.1.2 lxml==4.5.0 click==7.1.2

File last commit:

r4017:da40b4bb default
r4756:2a5b3f8a python3
Show More
Gruntfile.js
22 lines | 816 B | application/javascript | JavascriptLexer
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 var gruntConfig = require('./grunt_config.json');
frontend: use webpack instead of vulcanize
r3171 var webpackConfig = require('./webpack.config');
gruntConfig["webpack"] = {
options: {
stats: !process.env.NODE_ENV || process.env.NODE_ENV === 'development'
},
prod: webpackConfig,
dev: Object.assign({ watch: false }, webpackConfig)
};
project: added all source files and assets
r1
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 module.exports = function(grunt) {
grunt.initConfig(gruntConfig);
project: added all source files and assets
r1
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-concat');
js: produce minimized JS file as well as bundle
r4017 grunt.loadNpmTasks('grunt-contrib-uglify');
project: added all source files and assets
r1 grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');
polymer: introduce webcomponents to rhodecode
r689 grunt.loadNpmTasks('grunt-contrib-copy');
frontend: use webpack instead of vulcanize
r3171 grunt.loadNpmTasks('grunt-webpack');
js: produce minimized JS file as well as bundle
r4017 grunt.registerTask('default', ['less:production', 'less:components', 'copy', 'webpack', 'concat:dist', 'uglify:dist']);
project: added all source files and assets
r1 };