Skip to content

Commit

Permalink
Deactivate pdf build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed May 19, 2020
1 parent 7c86356 commit b654111
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
*.pdf
dist/
_book
test.txt
test.txt

node_modules
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ script-anchors:
- &script-publish
- cd $TRAVIS_BUILD_DIR
- yarn global add gitbook-cli gitbook-plugin-ga
- make pdf
- gitbook install
- make html
# - make pdf

matrix:
include:
Expand All @@ -22,13 +23,13 @@ matrix:
- libxss1
script: *script-publish
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
name: Build $(date +'%d.%m.%Y %R')
file: $TRAVIS_BUILD_DIR/dist/JUCE-Cookbook.pdf
skip_cleanup: true
on:
branch: master
# - provider: releases
# api_key: $GITHUB_TOKEN
# name: Build $(date +'%d.%m.%Y %R')
# file: $TRAVIS_BUILD_DIR/dist/JUCE-Cookbook.pdf
# skip_cleanup: true
# on:
# branch: master
- provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/dist/html
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.PHONY: pdf clean stats format
default: pdf
.PHONY: clean stats format
default: dev

PDF_NAME = JUCE-Cookbook.pdf
DIST_DIR = dist


.PHONY: pdf
pdf:
mkdir -p $(DIST_DIR)
gitbook pdf . $(DIST_DIR)/$(PDF_NAME)
# .PHONY: pdf
# pdf:
# mkdir -p $(DIST_DIR)
# gitbook pdf . $(DIST_DIR)/$(PDF_NAME)

.PHONY: html
html:
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ A collection of examples & workflow tips related to the C++ library JUCE.

[**Read Online**](https://tobanteaudio.github.io/juce-cookbook/)

[**Latest PDF (direct download)**](https://github.com/tobanteAudio/juce-cookbook/releases/latest/download/JUCE-Cookbook.pdf)

[**GitHub Repository**](https://github.com/tobanteAudio/juce-cookbook)

## Intro
Expand Down

0 comments on commit b654111

Please sign in to comment.