Skip to content

Commit

Permalink
Preparing for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Nov 29, 2017
1 parent e7253e4 commit 2cc1b3d
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 2 deletions.
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
language: racket
sudo: required
dist: trusty
env:
global:
- RACKET_DIR=~/racket
matrix:
- RACKET_VERSION=5.3.5

before_install:
- git clone https://github.com/greghendershott/travis-racket.git
- cat travis-racket/install-racket.sh | bash
- git clone https://github.com/scottkosty/install-tl-ubuntu.git
- sudo ./install-tl-ubuntu/install-tl-ubuntu
- source /etc/environment
- export PATH="${RACKET_DIR}/bin:${PATH}"

install:

before_script:

script:
- raco link class/
- raco link book/
- raco setup class
- cd book; make dpc.html; tar cvfz dpc-www.tgz dpc-www/
- make dpc.pdf

deploy:
provider: releases
api_key:
secure: L1N6EsOBes50BaIAdhj6fpLd2uLgUHwJQE4t/i6myQN3G+WVO3TpJVpjHQUv1htx9nmjP0tK9HIGzLDnQMN78GMRHOJj24tiEUqvtsDQJln2Hw7dDJtDNPWsVq51xu+rYI7cXwZYjIJV1fcgSoyAjfqstbSKASHl24v9SlArCsI=
file:
- dpc-www.tgz
- dpc.pdf
skip_cleanup: true
on:
tags: true
branch: master
2 changes: 2 additions & 0 deletions book/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ dpc-2up.pdf: dpc.pdf
dpc.html: $(scrbls)
env STUDENTS=1 $(RACO) scribble --html \
++xref-in setup/xref load-collections-xref \
--dest dpc-www/ \
--dest-name index \
dpc.scrbl

clean:
Expand Down
3 changes: 2 additions & 1 deletion book/chapter/01/exercises.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,5 @@ Add accessor methods for extracting the @racket[real] and
(send (new complex% 3 4) mag)
)

@include-section[(lib "assignments/assign01-rectangles.scrbl")]
@; Removed dependencies on web page repository
@;include-section[(lib "assignments/assign01-rectangles.scrbl")]
3 changes: 2 additions & 1 deletion book/chapter/05/exercises.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@ mechanisms. So there are at least two solutions to this problem:

Revise your Zombie! program.

@include-section[(lib "assignments/assign02-space-invaders.scrbl")]
@; Removed dependencies on web page repository
@;include-section[(lib "assignments/assign02-space-invaders.scrbl")]
Binary file added book/figures/quick-lists-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/figures/quick-lists-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/figures/quick-lists1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/figures/quick-lists2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/figures/quick-lists3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/figures/quick-lists4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2cc1b3d

Please sign in to comment.