-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 788 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# import config.
cnf ?= .env
-include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# HELP
# This will output the help for each task
# thanks to https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: help
help: ## This help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help
up:
docker-compose up -d
down:
docker-compose down
bash:
docker-compose exec bread bash
build:
docker build -t bread -f Dockerfile.bread .
build-no-cache:
docker build --no-cache -t bread -f Dockerfile.bread .
server:
npm run dev & cd dbt && python3 -m duckdbt.server
dbt-run:
cd dbt && dbt run && cd
dbt-build:
cd dbt && dbt build && cd
make pipeline:
python pipelines/pipeline.py