diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 943b0a1..b7cd7e8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -26,7 +26,6 @@ jobs: - name: Build component run: | - make setup edgee components build - name: Verify .wasm file exists diff --git a/Makefile b/Makefile index b57f913..7f3d81d 100644 --- a/Makefile +++ b/Makefile @@ -8,21 +8,8 @@ help: | sort \ | sed -e "s/^Makefile://" -e "s///" \ | awk 'BEGIN { FS = ":.*?## " }; { printf "\033[36m%-30s\033[0m %s\n", $$1, $$2 }' -edgee_world: - # grab python reqs - uv sync - # generate bindings from wit - uv run componentize-py --wit-path .edgee/wit/ bindings edgee_world - -setup: edgee_world ## setup development environment - -build: setup +build: edgee components build -clean: ## clean build artifacts - rm -rf dc_component.wasm - rm -rf edgee_world - rm -rf __pycache__ - -test: setup ## test the component functions +test: ## test the component functions python -m unittest dc_component_test.py diff --git a/edgee-component.toml b/edgee-component.toml index 82b241b..8ddb418 100644 --- a/edgee-component.toml +++ b/edgee-component.toml @@ -9,7 +9,7 @@ description = "Example Python component for data collection" documentation = "https://github.com/edgee-cloud/example-py-component" repository = "https://github.com/edgee-cloud/example-py-component" language = "Python" -wit-version = "0.5.0" +wit-version = "1.0.0" [component.build] command = "uv sync && rm -rf edgee_world && uv run componentize-py --wit-path .edgee/wit/ bindings edgee_world && uv run componentize-py --wit-path .edgee/wit/ --world data-collection componentize dc_component -o dc_component.wasm"