Open avoinea opened 5 years ago
Adding a theme_barceloneta to my Plone add-on will generate a Gruntfile.js with the wrong setBase
setBase
$ pip instal plonecli $ plonecli create addon my.theme $ cd my.theme $ plonecli add theme_barceloneta $ cd src/my/theme $ npm install $ cd theme $ npm install $ cd ../ $ grunt >> Error: ENOENT: no such file or directory, chdir '/workspace/plone/src/my.theme/src/my/theme' -> 'src/my/theme/theme' $ cat Gruntfile.js | grep setBase grunt.file.setBase('./src/my/theme/theme');
It should be Gruntfile.js relative:
grunt.file.setBase('./theme');
Description
Adding a theme_barceloneta to my Plone add-on will generate a Gruntfile.js with the wrong
setBase
What I Did
It should be Gruntfile.js relative: