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

feat(types): migrate types.json in /node/build.rs #198

Closed
wants to merge 4 commits into from
Closed

Conversation

clearloop
Copy link
Contributor

@clearloop clearloop commented Jul 10, 2021

Changes

Migrate types.json from pint-types-bundle

NOTE:

build.rs not supported in /: rust-lang/cargo#8732

Tests

CI

Issues

Closes #197

@clearloop clearloop added the needs review PR needs reviewing label Jul 11, 2021
Comment on lines +13 to +15

// Generate PINT types
fs::copy(PINT_TYPES_SOURCE, PINT_TYPES_TARGET).expect("Generate PINT types failed");
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should put anything in here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The build.rs in / doesn't work, otherwise, we write the script in CI

Copy link
Contributor

Choose a reason for hiding this comment

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

yea, we should really keep it separate here and rather put it in CI

@clearloop clearloop closed this Jul 12, 2021
@clearloop clearloop deleted the cl/types branch September 6, 2021 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review PR needs reviewing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate javascript types in build.rs
2 participants