fix: updating build
This commit is contained in:
parent
5448d55112
commit
7464c83c5a
2 changed files with 9 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"title": "{{edition.fedran.source.title}}",
|
"title": "Rejected Research",
|
||||||
"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": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue