Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

[UTY-2393] Port build system module to new CodeWriter #1242

Merged
merged 7 commits into from
Jan 17, 2020

Conversation

paulbalaji
Copy link
Contributor

@paulbalaji paulbalaji commented Jan 16, 2020

Description

Port build system module to new CodeWriter

Tests

check generated code diff

Documentation

  • changelog

Primary reviewers

If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

@improbable-prow-robot
Copy link

Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UTY-2392

@improbable-prow-robot improbable-prow-robot added jira/UTY A: build-system Area: Build system feature module size/L Denotes a PR that changes 150-299 lines, ignoring generated files. labels Jan 16, 2020
@paulbalaji paulbalaji changed the title [UTY-2392] Port build system module to new CodeWriter [UTY-2393] Port build system module to new CodeWriter Jan 16, 2020
Signed-off-by: Paul Balaji <paulbalaji@improbable.io>
Comment on lines 73 to 81
buildWorkerMenu.Method("private static void MenuBuildLocal(string[] filteredWorkerTypes)", m =>
{
m.Line("WorkerBuilder.MenuBuild(BuildEnvironment.Local, filteredWorkerTypes);");
});

buildWorkerMenu.Method("private static void MenuBuildCloud(string[] filteredWorkerTypes)", m =>
{
m.Line("WorkerBuilder.MenuBuild(BuildEnvironment.Cloud, filteredWorkerTypes);");
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Reading through this again - these seem mostly redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah - could just call WorkerBuild.MenuBuild directly

Signed-off-by: Paul Balaji <paulbalaji@improbable.io>
@paulbalaji paulbalaji merged commit 51b4a03 into develop Jan 17, 2020
@paulbalaji paulbalaji deleted the feature/port-build-system-module branch January 17, 2020 10:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: build-system Area: Build system feature module A: tooling Area: Tooling jira/UTY size/L Denotes a PR that changes 150-299 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants