forked from GitHubMirrors/silverbullet-icalendar
switch to ical.js and cleanup obsolete files - v0.4.6 [skip-ci]
All checks were successful
Build SilverBullet Plug / build (push) Successful in 11s
All checks were successful
Build SilverBullet Plug / build (push) Successful in 11s
This commit is contained in:
26
Makefile
26
Makefile
@@ -1,10 +1,30 @@
|
||||
# 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 a Docker container with Deno
|
||||
build: check-versions
|
||||
docker run --rm -v /home/sstent/Projects/silverbullet-icalendar:/app -w /app denoland/deno:latest task build
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user