Skip to content

Releases: ltrgoddard/duckdb.mk

Release list

v0.1.1

Choose a tag to compare

@ltrgoddard ltrgoddard released this 26 Sep 14:03
  • no build/plan.mk: No such file or directory warning on the first run with Make 3.81 (the version that ships with macOS)
  • readme: worked example, how it works, comparison with other tools

v0.1.0

Choose a tag to compare

@ltrgoddard ltrgoddard released this 26 Sep 13:38

first release of duckdb.mk: a minimal build system for local DuckDB pipelines, delivered as a single Makefile include.

  • models are SELECT queries under models/, built to parquet under build/
  • dependencies come from parsing each query's SQL syntax tree; no config
  • tests under tests/, macros under macros/, make shell for a DuckDB session with a view per model
  • remote sources and getenv values are rechecked on every run
  • each run writes the dependency graph to build/dag.mmd as a Mermaid flowchart
  • tested against DuckDB 1.4.1, the latest release, and the 2.0 alpha

install with:

DUCKDB_MK = v0.1.0
include .duckdb.mk/$(DUCKDB_MK)/duckdb.mk
.duckdb.mk/%/duckdb.mk:
	curl -sSfL --create-dirs -o $@ https://raw.githubusercontent.com/ltrgoddard/duckdb.mk/$*/duckdb.mk