fixed cache Refactoring from app router to page router Refactoring from app router to page router Add authentication with JWT base ui done protect the dashboard added transitions styling type trick added cleanup Add enable-disable logic add transactional emails Improvements on delay and frontend added description on select implement auth with magic link migrate to mariadb webhook signature working Adding async processing with queues Implemented webhook reply functionality Add son execution logs update status logic Add recent activity monitoring to sons show son performance in dashboard add readme implement listmonk connector listmonk-connector-v1 Create CODE_OF_CONDUCT.md Create LICENSE
38 lines
No EOL
837 B
Makefile
38 lines
No EOL
837 B
Makefile
.PHONY: dev dev-backend dev-frontend build-frontend build-all docker-build docker-run test lint
|
|
|
|
dev:
|
|
@echo "Starting development servers..."
|
|
@make -j 2 dev-backend dev-frontend
|
|
|
|
dev-backend:
|
|
GIN_MODE=debug go run main.go
|
|
|
|
dev-frontend:
|
|
cd ui && npm run dev
|
|
|
|
create-migration:
|
|
@read -p "Enter migration name: " name; \
|
|
migrate create -ext sql -dir database/migrations -seq $$name
|
|
|
|
build-frontend:
|
|
cd ui && npm run build
|
|
|
|
build-all: build-frontend
|
|
GIN_MODE=release go build -o main .
|
|
|
|
docker-build:
|
|
docker build -t ghost-listmonk-connector .
|
|
|
|
docker-run:
|
|
docker run -p 8808:8808 ghost-listmonk-connector
|
|
|
|
repopack:
|
|
npx repopack --ignore "*.txt,*.db,go.sum,ui_backup,**/*.txt,**/ui/*.tsx,**/ui/*.ts,**/.next,**/node_modules,**/pnpm-lock.yaml"
|
|
|
|
test:
|
|
go test ./...
|
|
cd ui && npm test
|
|
|
|
lint:
|
|
go vet ./...
|
|
cd ui && npm run lint
|