refactor: rename source folder to src

This commit is contained in:
Johan Larsson 2024-01-09 15:27:48 +01:00
parent c7c32a2a61
commit 6565830b90
10 changed files with 15 additions and 3 deletions

12
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Test Beamer Theme
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xu-cheng/latex-action@v3
with:
root_file: demo/demo.tex
- name: Compile LaTeX document
run: latexmk -pdf -interaction=nonstopmode -halt-on-error test.tex

View File

@ -1,6 +1,6 @@
MAKEFLAGS := -j 1
INS = source/beamerthememoloch.ins
PACKAGE_SRC = $(wildcard source/*.dtx)
INS = src/beamerthememoloch.ins
PACKAGE_SRC = $(wildcard src/*.dtx)
PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty))
DEMO_SRC = demo/demo.tex demo/demo.bib
DEMO_PDF = demo/demo.pdf
@ -15,7 +15,7 @@ DOC_DIR = $(DESTDIR)/doc/latex/moloch
CACHE_DIR := $(shell pwd)/.latex-cache
COMPILE_TEX := latexmk -xelatex -output-directory=$(CACHE_DIR)
export TEXINPUTS:=$(shell pwd):$(shell pwd)/source:${TEXINPUTS}
export TEXINPUTS:=$(shell pwd):$(shell pwd)/src:${TEXINPUTS}
DOCKER_IMAGE = latex-image
DOCKER_CONTAINER = latex-container