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

Integration test for examples #55

Closed
wants to merge 32 commits into from
Closed

Integration test for examples #55

wants to merge 32 commits into from

Conversation

sdankel
Copy link
Member

@sdankel sdankel commented Mar 21, 2024

Integration tests for #52

@@ -0,0 +1,134 @@
export const EXAMPLE_SWAY_CONTRACT_SRC20 = `contract;

use ownership;
Copy link
Member

Choose a reason for hiding this comment

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

@sdankel can we include the entire sway libs as "libs" instead of just the ownership module?

Copy link
Member Author

Choose a reason for hiding this comment

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

libs would have to be the name of the package, with all of the modules inside that package. Currently each module in sway-libs is a separate package, so they have to be imported separately. cargo works the same way.

@sdankel
Copy link
Member Author

sdankel commented Mar 23, 2024

Closing and adding to #52 instead.

@sdankel sdankel closed this Mar 23, 2024
@sdankel sdankel deleted the sophie/examples-test branch March 23, 2024 01:52
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