Compare commits

...

2 commits
v1.0.0 ... main

Author SHA1 Message Date
D. Moonfire 47d765f851 chore: updating project setup 2022-10-15 13:56:50 -05:00
D. Moonfire 829e751c59 fix: updating build 2022-10-15 07:36:59 -05:00
4 changed files with 2602 additions and 6 deletions

View file

@ -3,6 +3,8 @@ clone:
image: woodpeckerci/plugin-git image: woodpeckerci/plugin-git
settings: settings:
tags: true tags: true
when:
event: [push, pull_request]
pipeline: pipeline:
build: build:
@ -17,8 +19,7 @@ pipeline:
- s3_access_key_id - s3_access_key_id
- s3_secret_access_key - s3_secret_access_key
when: when:
event: [push, pull_request, tag] event: [push, pull_request]
tag: v*
release: release:
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest

2590
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,11 +1,11 @@
{ {
"metadata": { "metadata": {
"title": "{{edition.fedran.source.title}}", "title": "Under the Streets",
"author": "D. Moonfire", "author": "D. Moonfire",
"language": "en", "language": "en",
"theme": "@fedran/writing-theme", "theme": "@fedran/writing-theme",
"outputDirectory": ".", "outputDirectory": ".",
"outputFilename": "dmoonfire-{{edition.fedran.source.title_slug}}-{{edition.name}}-{{edition.version}}.{{edition.ext}}", "outputFilename": "dmoonfire-{{edition.fedran.source.identifier_slug}}-{{edition.version}}.{{edition.ext}}",
"markdown": { "markdown": {
"extensions": [ "extensions": [
{ {

View file

@ -10,9 +10,14 @@ cd $(dirname $(dirname $0))
log "setting up project" log "setting up project"
./scripts/setup.sh || exit 1 ./scripts/setup.sh || exit 1
# Clean up the old files.
log "cleaning old builds"
rm -f dmoonfire*
# Build the project outputs. # Build the project outputs.
log "building PDF" log "building PDF"
npm run build:pdf || exit 1 ./node_modules/.bin/mfgames-writing-format build pdf || exit 1
log "building EPUB" log "building EPUB"
npm run build:epub || exit 1 ./node_modules/.bin/mfgames-writing-format build epub || exit 1
epubcheck dmoonfire*.epub || exit 1