This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
run: git clone https://git.0x45.cz/em/mixtape.git /workspace/em/mixtape
|
run: git clone https://git.0x45.cz/em/mixtape.git /workspace/em/mixtape
|
||||||
|
|
||||||
- name: Build Chordpro
|
- name: Build Chordpro
|
||||||
run: make pdf html songbook
|
run: make -j2 pdf html songbook
|
||||||
|
|
||||||
- name: Build Zola
|
- name: Build Zola
|
||||||
run: zola build
|
run: zola build
|
||||||
|
2
makefile
2
makefile
@@ -1,7 +1,7 @@
|
|||||||
ifdef CHORDPRO_PIPELINE
|
ifdef CHORDPRO_PIPELINE
|
||||||
CHORDPRO_CMD = chordpro
|
CHORDPRO_CMD = chordpro
|
||||||
else
|
else
|
||||||
CHORDPRO_CMD = docker run -ti --rm \
|
CHORDPRO_CMD = docker run --rm \
|
||||||
--env HOME=$(HOME) --env USER=$(USER) \
|
--env HOME=$(HOME) --env USER=$(USER) \
|
||||||
--workdir $(shell pwd) \
|
--workdir $(shell pwd) \
|
||||||
--volume $(HOME):$(HOME) \
|
--volume $(HOME):$(HOME) \
|
||||||
|
@@ -26,6 +26,12 @@ Target | Description
|
|||||||
`songbook` | Build one complete PDF songbook with all songs
|
`songbook` | Build one complete PDF songbook with all songs
|
||||||
`clean` | Remove all generated files
|
`clean` | Remove all generated files
|
||||||
|
|
||||||
|
The makefile is ready for parallel building:
|
||||||
|
|
||||||
|
```
|
||||||
|
make -j$(nproc)
|
||||||
|
```
|
||||||
|
|
||||||
You can also build PDF for a specific page with:
|
You can also build PDF for a specific page with:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user