Skip to content

Commit

Permalink
ci: 🚑️ show make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgasquez committed Nov 10, 2023
1 parent 58376d4 commit 20aca68
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,32 @@
IMAGE_NAME := davidgasquez/datadex:v1.0.0

run:
@dagster asset materialize --select \* -m datadex.dag;
dagster asset materialize --select \* -m datadex.dag;

dev:
@dagster dev -m datadex.dag
dagster dev -m datadex.dag

.PHONY: docs
docs:
@cd dbt && dbt docs generate --profiles-dir .;
@mkdir -p dbt/target/docs
@cp dbt/target/*.json dbt/target/index.html dbt/target/graph.gpickle dbt/target/docs/
cd dbt && dbt docs generate --profiles-dir .
mkdir -p dbt/target/docs
cp dbt/target/*.json dbt/target/index.html dbt/target/graph.gpickle dbt/target/docs/

quarto: docs
@quarto render
@quarto render README.md -M output-file:index
@cp -r dbt/target/docs/ .quarto/output/docs
quarto render
quarto render README.md -M output-file:index
cp -r dbt/target/docs/ .quarto/output/docs

preview:
@quarto preview
quarto preview

clean:
@dbt clean --project-dir dbt;
@rm -rf data/* output .quarto target dbt_packages
dbt clean --project-dir dbt;
rm -rf data/* output .quarto target dbt_packages

rill:
@curl -s https://cdn.rilldata.com/install.sh | bash
@rill start ~/rill
curl -s https://cdn.rilldata.com/install.sh | bash
rill start ~/rill

build:
docker build -t $(IMAGE_NAME) -t davidgasquez/datadex:latest .
Expand Down

0 comments on commit 20aca68

Please sign in to comment.