Skip to content

Commit 42d24e6

Browse files
bbyalcinkayaaoliemanrv-auditor
authored
Add module interface for CLI (#93)
* add module interface for CLI * Set Version: 0.1.72 * Update test.yml * format: double quotes to single * fix type error: `main()` returns `None`, not exit code * Dockerfile: no `--features opt` when installing stellar cli --------- Co-authored-by: Alex Olieman <alex@olieman.net> Co-authored-by: devops <devops@runtimeverification.com>
1 parent 9211c58 commit 42d24e6

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

.github/actions/with-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
3232
&& rustup target add wasm32-unknown-unknown \
3333
&& rustup target add wasm32v1-none
3434

35-
RUN cargo install --locked stellar-cli --features opt
35+
RUN cargo install --locked stellar-cli

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
steps:
4040
- name: 'Check out code'
4141
uses: actions/checkout@v3
42+
- name: 'Setup Python 3.10'
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: '3.10'
46+
- name: 'Install Poetry'
47+
uses: Gr1N/setup-poetry@v9
4248
- name: 'Run code quality checks'
4349
run: make check
4450
- name: 'Run pyupgrade'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/dist/
22
__pycache__/
33
.coverage
4+
.python-version

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.71
1+
0.1.72

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "komet"
7-
version = "0.1.71"
7+
version = "0.1.72"
88
description = "K tooling for the Soroban platform"
99
authors = [
1010
"Runtime Verification, Inc. <contact@runtimeverification.com>",

src/komet/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from komet.komet import main
2+
3+
if __name__ == '__main__':
4+
main()

0 commit comments

Comments
 (0)