Skip to content

Commit a947aa8

Browse files
authored
Fix Makefile to run make docker-run (#271)
Fixes the following errors that popped up when trying to run `make docker-run`: ``` (venv) ➜ dag-factory git:(release-0.2.0) ✗ make build-whl cd examples && ln -s ../dev/dags dags ln: dags/dags: File exists make: *** [build-whl] Error 1 ``` And ``` (venv) ➜ dag-factory git:(release-0.2.0) ✗ make docker-run cd dev python3 -m build --outdir dev/include/ /Users/tati/Code/dag-factory/venv/bin/python3: No module named build make: *** [build-whl] Error 1 ```
1 parent dfd46b8 commit a947aa8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ clean: ## Removes build and test artifacts
2222

2323

2424
.PHONY: build-whl
25-
build-whl: ## Build installable whl file
26-
cd examples && ln -s ../dev/dags dags
25+
build-whl: setup-dev ## Build installable whl file
26+
cd dev
2727
python3 -m build --outdir dev/include/
2828

2929
.PHONY: docker-run

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ tests = [
5050

5151
[tool.hatch.envs.tests]
5252
dependencies = [
53+
"build",
5354
"dag-factory[tests]",
5455
"apache-airflow~={matrix:airflow}.0,!=2.9.0,!=2.9.1", # https://github.com/apache/airflow/pull/39670
5556
"httpx>=0.25.0"

0 commit comments

Comments
 (0)