High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
allow yarn bin to be overridden
Konrad Mohrfeldt07478a588c2a
diff --git a/Makefile b/Makefileindex 0e563775..36f140ab 100644--- a/Makefile+++ b/Makefile@@ -2,6 +2,8 @@ LAST_COMMIT := $(shell git rev-parse --short HEAD)VERSION := $(shell git describe --tags --abbrev=0)BUILDSTR := ${VERSION} (\#${LAST_COMMIT} $(shell date -u +"%Y-%m-%dT%H:%M:%S%z"))+YARN ?= yarn+BIN := listmonkSTATIC := config.toml.sample \schema.sql queries.sql \@@ -15,7 +17,7 @@ STATIC := config.toml.sample \.PHONY: depsdeps:go get -u github.com/knadh/stuffbin/...- cd frontend && yarn install+ cd frontend && $(YARN) install# Build the backend to ./listmonk..PHONY: build@@ -30,12 +32,12 @@ run: build# Build the JS frontend into frontend/dist..PHONY: build-frontendbuild-frontend:- export VUE_APP_VERSION="${VERSION}" && cd frontend && yarn build+ export VUE_APP_VERSION="${VERSION}" && cd frontend && $(YARN) build# Run the JS frontend server in dev mode..PHONY: run-frontendrun-frontend:- export VUE_APP_VERSION="${VERSION}" && cd frontend && yarn serve+ export VUE_APP_VERSION="${VERSION}" && cd frontend && $(YARN) serve# Run Go tests..PHONY: test