Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
chore: fix up the ts deployer build command
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcampbell committed Mar 22, 2024
1 parent f28c608 commit 2215bf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ environment_secrets = []

[project.run]
# Commands intented for use locally and in CI
build = { commands = [
'npm run build',
build = { commands = [
'poetry run python -m smart_contracts build',
], description = 'Build all smart contracts in the project' }
test = { commands = [
'npm run test',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ environment_secrets = []

[project.run]
# Commands intented for use locally and in CI
build = { commands = [
'npm run build',
build = { commands = [
'poetry run python -m smart_contracts build',
], description = 'Build all smart contracts in the project' }
lint = { commands = [
], description = 'Perform linting' }
Expand Down
6 changes: 0 additions & 6 deletions template_content/.algokit.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,9 @@ environment_secrets = []

[project.run]
# Commands intented for use locally and in CI
{%- if deployment_language == 'python' %}
build = { commands = [
'poetry run python -m smart_contracts build',
], description = 'Build all smart contracts in the project' }
{%- elif deployment_language == 'typescript' %}
build = { commands = [
'npm run build',
], description = 'Build all smart contracts in the project' }
{%- endif %}
{%- if deployment_language == 'python' and use_python_pytest %}
test = { commands = [
'poetry run pytest',
Expand Down

0 comments on commit 2215bf7

Please sign in to comment.