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 licenses as prefixes to output bundles #1605

Merged
merged 5 commits into from
Dec 7, 2023
Merged

Conversation

Ekrekr
Copy link
Contributor

@Ekrekr Ekrekr commented Dec 7, 2023

No description provided.

@Ekrekr Ekrekr requested a review from lewish December 7, 2023 14:32
packages/@dataform/core/BUILD Outdated Show resolved Hide resolved
add_license_header_to_file(
name="bundle_with_license",
from_file=":bundle_no_license",
to_file=":bundle.js",
Copy link
Collaborator

Choose a reason for hiding this comment

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

these aren't labels so you don't want : in there, that's probably why tests are failing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tests were also failing because the Node shebang for the CLI was getting in the way; have moved license to below it.

packages/@dataform/cli/BUILD Outdated Show resolved Hide resolved
packages/@dataform/core/BUILD Outdated Show resolved Hide resolved
packages/@dataform/core/BUILD Outdated Show resolved Hide resolved
@Ekrekr Ekrekr requested a review from lewish December 7, 2023 15:19
@Ekrekr Ekrekr merged commit 14c5495 into main_v3 Dec 7, 2023
4 checks passed
@Ekrekr Ekrekr deleted the auto-license-prefix branch December 7, 2023 15:43
moker-spaghetti pushed a commit to moker-spaghetti/dataform that referenced this pull request May 26, 2024
* fix file namings

* Add licenses to the CLI too

* Tidy usage

* Fix build and bump version

* Fix core version in test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants