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

Refactored enapi to post_build #3

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Refactored enapi to post_build #3

merged 1 commit into from
Jul 15, 2024

Conversation

beborngod
Copy link
Contributor

No description provided.

@beborngod beborngod requested a review from seritools July 11, 2024 15:51
@beborngod beborngod self-assigned this Jul 11, 2024
Comment on lines 14 to 16
let build_dir = PathBuf::from(".").join(enunion_target_path);
let enunion_path = build_dir.join("enunion-generated-ts");
let ts_file_path = build_dir.join("index.d.ts");
Copy link
Contributor

@seritools seritools Jul 11, 2024

Choose a reason for hiding this comment

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

  • please make build_dir and ts_file_path configurable/fully passed in via parameter. assuming "." or the name of the output file etc is not helpful

@beborngod beborngod force-pushed the post-build-helper branch from 2ab0f4e to b5dc83a Compare July 15, 2024 12:00
Copy link
Contributor

@seritools seritools left a comment

Choose a reason for hiding this comment

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

  • move remove_dir_all into the post build step (optional via a flag parameter)

@beborngod beborngod force-pushed the post-build-helper branch from b5dc83a to 3b59564 Compare July 15, 2024 12:41
@beborngod beborngod force-pushed the post-build-helper branch from 3b59564 to 3ab5bdb Compare July 15, 2024 12:49
@beborngod beborngod merged commit a173188 into main Jul 15, 2024
3 checks passed
@beborngod beborngod deleted the post-build-helper branch July 15, 2024 12:59
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.

2 participants