-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduced tasks and configuration for testing releases. #299
Conversation
|
@@ -24,6 +24,15 @@ const config = { | |||
// Path to the default configuration file for bundler. | |||
BUNDLE_DEFAULT_CONFIG: 'dev/bundles/build-config-standard.js', | |||
|
|||
DOCUMENTATION: { | |||
// Path to the built editors for samples. | |||
EDITORS_DIST: '.docs/assets/scripts/samples', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.docs
looks like a mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I can see that you meant to use .docs
. Then this is bad. You should use some directory inside build/docs/
. Also, aren't those files needed only temporarily?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During this issue, those editors aren't needed. But, in the future we will introduce docs-builder
and that tool will need to have the editors (for sample pages).
… pckgs too, so you'll rather use npm link to install them.
There are couple of things that I noticed already:
|
I agree with all the points and I will fix those issues. |
One thing that I want to think through is the naming of the commands. Right now there's lack of consistency and a lack of plan visible, because the tasks were created by many devs at different stages. |
I extracted the first point from #299 (comment) to https://github.com/ckeditor/ckeditor5-dev-compiler/issues/24. |
I pushed one more commit which cleans up few things in the gulpfile. I also reported a few tickets: |
There are couple of things that still need to be taken care of:
Also, I start to think that we need a new repository for the docs things or something, because the code which bundles editors for release tests don't match any repository that we have now... We should think about this after closing these PRs. |
@oskarwrobel mentioned about it. I also thought about it. |
OK, I've done some refactoring here and there, moved some code from dependent PRs to this one (temporarily) and merged this code to branch Let's keep this code out of master until we have the documentation ready. |
Feature: Implemented a button that merges table cells directly from the table toolbar. Closes #6486.
Fixes: #260
Requires: https://github.com/ckeditor/ckeditor5-dev-compiler/pull/23
This PR will introduce new tasks:
test:samples:local
- building tests with local modules,test:samples:bundled
- building tests with bundled editor,test:samples
- an alias for above tasks,compile:samples
- building editors (needed fortest:samples:bundled
),compile:samples:clean
- removes built editors.For testing it, you need to create some sample files:
ckeditor5-typing/docs/samples/typing.js
ckeditor5-typing/docs/samples/typing.html
ckeditor5-basic-samples/docs/samples/basic-styles.js
ckeditor5-basic-samples/docs/samples/basic-styles.html