forked from GitHubMirrors/silverbullet-icalendar
All checks were successful
Build SilverBullet Plug / build (push) Successful in 11s
33 lines
644 B
Makefile
33 lines
644 B
Makefile
# Makefile for iCalendar Plug
|
|
|
|
.PHONY: build test bump release check-versions
|
|
|
|
# Run all tests
|
|
test:
|
|
deno task test
|
|
|
|
# Increment patch version in deno.json
|
|
bump:
|
|
deno task bump-version
|
|
|
|
# Sync version from deno.json to all other files
|
|
sync-version:
|
|
deno task sync-version
|
|
|
|
# Check version consistency
|
|
check-versions:
|
|
./check_versions.sh
|
|
|
|
# Build the plug using local Deno
|
|
build: sync-version
|
|
deno task build
|
|
|
|
# Bump version and build
|
|
release: bump build
|
|
@echo "Release built successfully."
|
|
|
|
# Helper to build and copy to a local test space (if needed)
|
|
deploy-test: build
|
|
mkdir -p test_space/_plug
|
|
cp icalendar.plug.js test_space/_plug/
|