Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build website incrementally (and faster if you have the CPU cores) | Michael Reed | 2017-07-09 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | This is done by replacing www/generate.sh with a Makefile. Benefits: - Makes builds incremental, meaning that only the minimum number of markdown files will be converted to HTML during a build. The previous scheme always generated a new HTML file for every markdown file, which is a big waste of time if only 1 or 2 markdown files have been changed. - Allows for much faster builds through concurrent jobs (e.g., via "make -j4"). On my 4-core machine, my average build time for the website with generate.sh was just over 26 seconds; with "make -j4", it was 13 seconds. - Avoids portability issues with find(1) in generate.sh, which I was encountering on OpenBSD. A note on portability: unlike GNU Make, OpenBSD's Make does not have the "$(shell [commands])" construct, so we don't use that. Instead we use "!= [commands]", which is supported by both. | ||||
* | Replaced '#!/bin/bash' w/ '#!/usr/bin/env bash' | Andrew Robbins | 2017-06-23 | 1 | -1/+1 |
| | | | | | This is mainly useful for being able to run these scripts on BSDs. And for users who use a Bash not installed to /bin. | ||||
* | Make sure news index is always latest | Alyssa Rosenzweig | 2017-04-08 | 1 | -0/+1 |
| | |||||
* | Fix dependency direction | Alyssa Rosenzweig | 2017-04-08 | 1 | -1/+1 |
| | |||||
* | Index blog in generate.sh | Alyssa Rosenzweig | 2017-04-08 | 1 | -0/+1 |
| | |||||
* | publish.sh: remove test cases; remove check on unbound variables (TODO: fix) | Leah Rowe | 2017-04-05 | 1 | -1/+1 |
| | | | | Alyssa, you need to make sure that variables are always bound. | ||||
* | add error-checking to publish.sh | Leah Rowe | 2017-04-05 | 1 | -0/+4 |
| | |||||
* | Delete cached html | Alyssa Rosenzweig | 2017-04-04 | 1 | -0/+1 |
| | |||||
* | Fix a few issues | Alyssa Rosenzweig | 2017-03-20 | 1 | -0/+0 |
| | |||||
* | Master generate script | Alyssa Rosenzweig | 2017-03-20 | 1 | -0/+2 |