mr.zeroandClaude Fable 5 5f81f7c179 Fix web player base href: /file/<project>-<version>/ with trailing slash
Without the trailing slash the browser resolves relative asset URLs
(style.css, player.js) against /file/, producing 404s. Also switch the
patch target from the obsolete /play/ scheme to the /file/ route the
API actually serves.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 18:49:54 +02:00
2026-07-28 18:37:26 +02:00

love-tools

CI/CD templates for LÖVE (Love2D/Lua) game projects, in the same spirit as tic80-tools.

  • example-makefile.make — project Makefile: local dev targets (build, love, web, export, watch, clean) plus the Woodpecker pipeline targets (ci-version, ci-export, ci-upload, ci-update).
  • example-woodpecker.yaml — Woodpecker pipeline: version → export (.love package + love.js web build) → upload (scp to the droparea) → update (calls the teletypegames /update endpoint with platform=love).
  • example-tasks.json — VS Code .vscode/tasks.json with the common dev tasks: Run Löve (love ., default build task, Cmd+Shift+B), Build & Run Löve, Build .love package and Make build.

Usage in a game repo

  1. Copy example-makefile.make to Makefile and set PROJECT (the package is built as dist/$(PROJECT).love).
  2. Copy example-woodpecker.yaml to .woodpecker.yaml and add the droparea_ssh_password / update_secret_key secrets in Woodpecker.
  3. Copy example-tasks.json to .vscode/tasks.json.

The pipeline uploads $(PROJECT)-$(VERSION).love.zip, $(PROJECT)-$(VERSION).html.zip and the versioned metadata.json to the droparea, then triggers /update twice: once with platform=love (desktop package) and once with platform=love-web (web build).

Detailed documentation lives on the wiki: /development/love.

S
Description
No description provided
Readme
64 KiB
Languages
Makefile 81.8%
Dockerfile 18.2%