near / cargo-near

Cargo extension for building Rust smart contracts on NEAR
Apache License 2.0
34 stars 17 forks source link

feat: Added the ability to use the TEACH-ME mode #221

Open FroVolod opened 1 month ago

FroVolod commented 1 month ago
./cargo-near --teach-me near new test

Screenshot 2024-10-03 at 19 51 28

./cargo-near --teach-me near build --manifest-path /Users/frovolod/Documents/NEAR/neardevhub-contract-1/Cargo.toml

Screenshot 2024-10-04 at 08 08 49

./cargo-near --teach-me near deploy --manifest-path /Users/frovolod/Documents/NEAR/neardevhub-contract-1/Cargo.toml

https://github.com/user-attachments/assets/9c205faa-4e0f-4b13-a4c8-66e408ed1346

FroVolod commented 1 month ago

@race-of-sloths

race-of-sloths-bot commented 1 month ago

@FroVolod Thank you for your contribution! Your pull request is now a part of the Race of Sloths!

[

<source media="(prefers-color-scheme: light)" srcset="https://badge.race-of-sloths.com/FroVolod?type=bot&pr=near/cargo-near/221&theme=light">
<img alt="Shows profile picture for the author of the PR" src="https://badge.race-of-sloths.com/FroVolod?type=bot&pr=near/cargo-near/221&theme=white">

](https://race-of-sloths.com/profile/FroVolod)

Current status: waiting for scoring We're waiting for maintainer to score this pull request with `@race-of-sloths score [0,1,2,3,5,8,13]` command. Alternatively, autoscoring [1,2] will be applied for this pull request
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors: - Tag @race-of-sloths inside your pull requests - Wait for the maintainer to review and score your pull request - Check out your position in the [Leaderboard](https://race-of-sloths.com/leaderboard) - Keep weekly and monthly streaks to reach higher positions - Boast your contributions with a dynamic picture of your [Profile](https://race-of-sloths.com/profile/FroVolod) For maintainers: - Score pull requests that participate in the Race of Sloths - Engage contributors with fair scoring and fast responses so they keep their streaks - Promote the Race to the point where the Race starts promoting you - Grow the community of your contributors Feel free to check [our website](https://race-of-sloths.com) for additional details!

Bot commands - For contributors - **Include a PR:** `@race-of-sloths include` to enter the Race with your PR - For maintainers: - **Invite contributor** `@race-of-sloths invite` to invite the contributor to participate in a race or include it, if it's already a runner. - **Assign points:** `@race-of-sloths score [1/2/3/5/8/13]` to award points based on your assessment. - **Reject this PR:** `@race-of-sloths exclude` to send this PR back to the drawing board. - **Exclude repo:** `@race-of-sloths pause` to stop bot activity in this repo until `@race-of-sloths unpause` command is called
FroVolod commented 1 month ago

Screenshot 2024-10-07 at 15 04 42

FroVolod commented 3 weeks ago

Three alternative commands were tested:

cargo near --teach-me new test
./cargo-near  near --teach-me new test
./cargo-near --teach-me near new test

The execution of the program is the same: Screenshot 2024-10-11 at 19 29 09