You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to ensure that algokit-cli handles installation of puya-py automatically and lazy-loads them as per usage.
Technical Details
Using algokit compile uses approach similar to algokit generate where semantics are inferred based on file extension. .py -> puya. An alternate approach is to use algokit compile py, so the compiler is known when the command is executed. This also has the added benefit of be extensible for future support of other compilers that may require different arguments.
We want to integrate this into the cli once 1.0 of Puya has released and update the cli to v2.
Acceptance Criteria
A user is able to execute the puya compiler via algokit-cli and turn their PuyaPy smart contract into a deployable teal contract, without explicitly installing it by executing algokit compile *.py
A user is able to discover any compilation issues in their PuyaPy contract using algokit compile
Tasks
PuyaPy compiler is integrated into the cli, usage is tested
show the compile command and add documentation
The text was updated successfully, but these errors were encountered:
neilcampbell
changed the title
Puya & Tealscript integration into algokit-cli, removing the need to install them explicitly
Puya integration into algokit-cli, removing the need to install them explicitly
Feb 26, 2024
Description
The goal is to ensure that
algokit-cli
handles installation ofpuya-py
automatically and lazy-loads them as per usage.Technical Details
Using
algokit compile
uses approach similar toalgokit generate
where semantics are inferred based on file extension..py
-> puya. An alternate approach is to usealgokit compile py
, so the compiler is known when the command is executed. This also has the added benefit of be extensible for future support of other compilers that may require different arguments.We want to integrate this into the cli once 1.0 of Puya has released and update the cli to v2.
Acceptance Criteria
algokit-cli
and turn their PuyaPy smart contract into a deployable teal contract, without explicitly installing it by executingalgokit compile *.py
algokit compile
Tasks
compile
command and add documentationThe text was updated successfully, but these errors were encountered: