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

[Move] Update build command in doc and fix a typo in a move file #24

Merged
merged 1 commit into from
Dec 3, 2021
Merged

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Dec 3, 2021

move package build command will look for move files under sources/ and scripts/.
Renaming examples to scripts will allow move build to actually build them.

@lxfind lxfind requested a review from sblackshear December 3, 2021 19:32
@sblackshear
Copy link
Collaborator

Ah, that is a mistake in the instructions--should be move package -d build, which should pick up + build examples (at least after the fix in diem/diem@8d0831f). Unfortunate time to be starting this as there's so much churn in the package tooling...

@sblackshear
Copy link
Collaborator

Speaking of which: I realized we actually don't test that the Move build artifacts are up-to-date yet (filed #26 for this).

Copy link
Collaborator

@sblackshear sblackshear left a comment

Choose a reason for hiding this comment

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

I think we should probably leave the code in examples, but switch the README instructions to say move package -d build. The scripts dir is supposed to be for transaction scripts that contain a single function (no modules), but I guess the package tooling does not check this.

fastx_programmability/framework/scripts/EconMod.move Outdated Show resolved Hide resolved
@lxfind lxfind changed the title [NFC] Move move scripts from examples/ to scripts/ [Move] Update build command in doc and fix a typo in a move file Dec 3, 2021
Copy link
Collaborator

@sblackshear sblackshear left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@lxfind lxfind merged commit 606fed7 into MystenLabs:main Dec 3, 2021
brson pushed a commit to brson/sui that referenced this pull request Apr 30, 2024
…bs#24)

More tests will be added when I wire these to the test case runners.
brson pushed a commit to brson/sui that referenced this pull request Apr 30, 2024
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