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

AOT package script #1836

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

AOT package script #1836

wants to merge 2 commits into from

Conversation

maciektr
Copy link
Contributor

@maciektr maciektr commented Dec 10, 2024

fixes #1771


Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

@maciektr maciektr changed the title Maciektr/script 2 (#1824) AOT macros package script Dec 10, 2024
copy_items_to_target_dir(includes, target_dir_path)?;
}

execute_script(script_definition, &[], ws, target_dir_path, None)?;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why are we executing the script in target/package?

It seems to me it should be either executed in the root dir, or if we want avoid modifying any unnecessary files there, in target/package/<name>-<version>?

Originally posted in: #1789 (comment)

scarb/tests/package.rs Outdated Show resolved Hide resolved
scarb/tests/package.rs Outdated Show resolved Hide resolved
scarb/src/core/manifest/toml_manifest.rs Outdated Show resolved Hide resolved
@maciektr maciektr changed the title AOT macros package script AOT package script Dec 11, 2024
@maciektr maciektr changed the base branch from main to spr/main/d297a417 December 11, 2024 19:58
@maciektr maciektr marked this pull request as ready for review December 12, 2024 10:34
@maciektr maciektr requested a review from a team as a code owner December 12, 2024 10:34
@maciektr maciektr requested a review from mkaput December 12, 2024 13:42
scarb/tests/package.rs Show resolved Hide resolved
scarb/tests/package.rs Outdated Show resolved Hide resolved
@maciektr maciektr force-pushed the spr/main/d297a417 branch 2 times, most recently from 01d1add to 8d172a9 Compare December 13, 2024 14:27
@maciektr maciektr requested a review from DelevoXDG December 13, 2024 14:29
maciektr and others added 2 commits December 13, 2024 16:51
fixes #1770
commit-id:d297a417
fixes #1771
commit-id:40843cae
github-merge-queue bot pushed a commit that referenced this pull request Dec 13, 2024
fixes #1770

---

**Stack**:
- #1846
- #1836
- #1842⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do
not merge manually using the UI - doing so may have unexpected results.*
Base automatically changed from spr/main/d297a417 to main December 13, 2024 17:51
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.

4 participants