Packages
journey
0.10.52
0.10.58
0.10.57
0.10.56
0.10.55
0.10.54
0.10.53
0.10.52
0.10.51
0.10.50
0.10.49
0.10.48
0.10.47
0.10.46
0.10.45
0.10.44
0.10.43
0.10.41
0.10.40
0.10.39
0.10.38
0.10.37
0.10.36
0.10.35
0.10.34
0.10.33
0.10.32
0.10.31
0.10.30
0.10.29
0.10.28
0.10.27
0.10.26
0.10.25
0.10.24
0.10.23
0.10.22
0.0.9
retired
0.0.8
0.0.7
0.0.6
0.0.5
0.0.3
0.0.2
Journey is a library for defining and running durable workflows with persistence, reliability, and scalability.
Current section
Files
Jump to
Current section
Files
Makefile
.PHONY: \
all \
build \
build-docs \
build-test \
format \
format-check \
hex-pm-publish \
hex-pm-publish-doc \
hex-pm-revert \
hex-pm-publish-doc-private \
hex-pm-publish-private \
hex-pm-revert-private \
lint \
test \
test-load \
test-performance \
validate
POSTGRES_DB_CONTAINER_NAME?=new_journey-postgres-db
all: build format-check lint test test-load
all-clean: clean deps-get all
build:
mix clean
mix compile --warnings-as-errors --force
mix docs --proglang elixir
build-test:
MIX_ENV=test mix clean
MIX_ENV=test mix compile --warnings-as-errors --force
mix docs --proglang elixir
build-docs:
mix docs --proglang elixir
clean:
MIX_ENV=test mix clean
mix clean
mix deps.clean --all
db-local-psql:
docker exec -it $(POSTGRES_DB_CONTAINER_NAME) psql -U postgres
db-local-rebuild:
docker rm -fv $(POSTGRES_DB_CONTAINER_NAME)
docker run --name $(POSTGRES_DB_CONTAINER_NAME) -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres:16.4
deps-get:
mix deps.get
dev-team:
npx @anthropic-ai/claude-code
format:
mix format
format-check:
mix format --check-formatted
hex-pm-publish:
mix hex.publish
hex-pm-publish-doc:
mix hex.publish docs
hex-pm-revert:
mix hex.publish --revert $(PUBLISHED_VERSION)
hex-pm-publish-private:
mix hex.publish --organization shipworthy
hex-pm-publish-doc-private:
mix hex.publish docs --organization shipworthy
hex-pm-revert-private:
mix hex.publish --organization shipworthy --revert $(PUBLISHED_VERSION)
lint:
mix credo --all --strict
mix hex.outdated || true
test:
MIX_ENV=test mix clean
MIX_ENV=test mix ecto.create
mix test --warnings-as-errors --cover
test-load:
mix run test_load/sunny_day.exs
test-performance:
mix run test_load/performance_benchmark.exs
validate: format-check build-test lint test