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

🏗 Add support for multiple (comma-separated) --target files for gulp prepend-global #32927

Merged

Conversation

danielrozenberg
Copy link
Member

@danielrozenberg danielrozenberg commented Feb 25, 2021

Other changes:

  • Remove unused legacy code that uses allows setting --target via an environment variable
  • Get config file directly from the requested branch without checking it out into the filesystem
    • Remove unexpected behaviour where a missing config file in the requested branch defaults to using the local branch's copy of the file
  • Do not export functions that aren't used anywhere else
  • Ensure only one of --prod or --canary can be passed
  • Fix Promise return types

@amp-owners-bot
Copy link

Hey @rsimha! These files were changed:

build-system/pr-check/module-tests.js
build-system/pr-check/nomodule-tests.js

Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

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

Very nice! A few comments below.

build-system/pr-check/module-tests.js Show resolved Hide resolved
build-system/pr-check/module-tests.js Show resolved Hide resolved
build-system/pr-check/nomodule-tests.js Show resolved Hide resolved
build-system/tasks/prepend-global/index.js Show resolved Hide resolved
build-system/tasks/prepend-global/index.js Show resolved Hide resolved
@danielrozenberg
Copy link
Member Author

Bump

Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

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

LGTM!

build-system/pr-check/nomodule-tests.js Show resolved Hide resolved
build-system/tasks/prepend-global/index.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants