Skip to content
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

Refactor Abstract Builder and introduce Build Phases #5

Closed
wants to merge 1 commit into from

Conversation

devtomtom
Copy link
Member

This pull requests adresses the following RFC:
SAP/ui5-tooling#4

@devtomtom
Copy link
Member Author

I am still not happy with the naming of the build phases which are currently

  • preprocess
  • themebuilding
  • process
  • bundle
  • optimize

Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed today


taskChain = taskChain.then(this.wrapTask(taskName, this.tasks[taskName]));
for (var i = 0; i < this.tasks.length; i++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this into a separate function to allow easier overwrite of the build function

const allTasksCount = tasksToRun.filter((value) => this.availableTasks.includes(value)).length;
build() {
// Run phases and add tasks to queue
this.preprocess();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove build phases until more use cases are known and naming is clear

@RandomByte RandomByte added this to Blocked in UI5 Tooling - Tasks Oct 18, 2018
@RandomByte RandomByte added the enhancement New feature or request label Oct 18, 2018
@RandomByte
Copy link
Member

Closing as stale

@RandomByte RandomByte closed this Sep 22, 2022
UI5 Tooling - Tasks automation moved this from Blocked to Done Sep 22, 2022
@RandomByte RandomByte deleted the refactor-abstract-builder branch September 22, 2022 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants