ckeditor4-sdk icon indicating copy to clipboard operation
ckeditor4-sdk copied to clipboard

Refactor app.js to make it smaller and split into parts based on tasks.

Open adelura opened this issue 10 years ago • 1 comments

When we change something in samples, and want to see final result we have to run builder. As we all know it takes some time. We could split build task into logical parts (I think it's already done) and allow us to run only one task using CLI. For example building only samples might be an option. Also we could make builder Gruntable and add some watcher to let things in background.

adelura avatar Oct 08 '14 09:10 adelura

dev/builder/app.js should be split into separate sub-tasks, based on grunt-contrib-* (and others) rather than promises and additional libraries (i.e. https://github.com/gruntjs/grunt-contrib-copy instead of ncp).

Atomic tasks should be placed in short, separate files under tasks/ folder (http://www.thomasboyt.com/2013/09/01/maintainable-grunt.html) because of the complexity of app.js.

oleq avatar Oct 10 '14 13:10 oleq