Skip to content

Commit

Permalink
feat: deprecation warning when trying to render this template.
Browse files Browse the repository at this point in the history
  • Loading branch information
CiottiGiorgio committed Jan 16, 2025
1 parent 1cba086 commit 7f2f57d
Show file tree
Hide file tree
Showing 5 changed files with 1,001 additions and 815 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# AlgoKit Playground Template

---
# DEPRECATED
This template has been deprecated. Beaker for Algorand Smart Contract development is no longer supported. Please use Algorand Python instead. The Algorand Python template can be found at https://github.com/algorandfoundation/algokit-python-template.

## Introduction

This template provides a good starting point to quickly play with writing, building and deploying/calling Beaker and PyTEAL contracts.

This is one of the default templates used by AlgoKit to initialise an Algorand smart contract project. It's a [Copier template](https://copier.readthedocs.io/en/stable/).
Expand Down
18 changes: 18 additions & 0 deletions copier.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
_subdirectory: template_content

use_deprecated_template:
type: bool
help: |
WARNING: This template has been deprecated. Beaker for Algorand Smart Contract development is no longer supported.
Please use Algorand Python instead. The Algorand Python template can be found at https://github.com/algorandfoundation/algokit-python-template
Do you still want to proceed with using the deprecated template?
default: no

_tasks:
- '"{{ python_path if python_path else _copier_python }}" post_init.py {{ use_deprecated_template }} {{ use_workspace }}'

# Auto determined by algokit-cli from v1.11.3 to allow execution of python script
# in binary mode.
python_path:
type: str
help: Path to the sys.executable.
when: false

# The following should never get prompted; algokit should always pass these values through by convention

algod_token:
Expand Down
Loading

0 comments on commit 7f2f57d

Please sign in to comment.