Skip to content

Instantly share code, notes, and snippets.

@cortinico cortinico/Makefile
Last active Jan 28, 2019

Embed
What would you like to do?
Circle CI setup for builing and publishing LaTeX files
version: 2
jobs:
build:
docker:
- image: koppor/texlive
steps:
- checkout
- run: 'make build'
- store_artifacts:
path: output/
destination: output
CC = xelatex
SRC_DIR = "."
OUT_DIR = "."
SRC = $(shell find $(SRC_DIR) -name '*.tex')
# Build All
build: $(SRC)
$(CC) -output-directory=$(OUT_DIR) $<
view: build
open output.pdf
clean-community:
rm -rf $(SRC_DIR)/*.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.