Compare commits
No commits in common. "c0e3e542ffeca81a47c0ff9ed8f4e3a34a88110a" and "7348a63cd32d8501c9c576e56208b91ebc2d1a16" have entirely different histories.
c0e3e542ff
...
7348a63cd3
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd /src
|
||||
make build
|
||||
popd
|
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
pushd /src
|
||||
document_root=${PROJECT}
|
||||
for tex in ./presentations/${document_root}/*.tex
|
||||
project_name=$(tamarin_db get project_name)
|
||||
for tex in presentations/$project_name/*.tex
|
||||
do
|
||||
rubber --inplace -c shell_escape --unsafe --module=xelatex "$tex"
|
||||
rubber --inplace --module=xelatex "$tex"
|
||||
cp "${tex%.tex}.pdf" /dist/
|
||||
# faire quelque chose pour le programme de la formation
|
||||
done
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes make' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes texlive-full python3-setuptools python-setuptools python3-pygments python-pygments fonts-liberation fonts-liberation2 rubber' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes pandoc' >> Dockerfile
|
||||
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
if [ -e './datasets/fonts' ]
|
||||
then
|
||||
for font_file in $(find . -wholename "./datasets/fonts/*.ttf")
|
||||
do
|
||||
echo 'COPY datasets/fonts/$font_file /root/.fonts/$font_file' >> Dockerfile
|
||||
done
|
||||
fi
|
||||
exit 0
|
@ -3,9 +3,9 @@
|
||||
set -e
|
||||
|
||||
echo 'ENV DEBIAN_FRONTEND=noninteractive' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes texlive-full' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes make' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes fonts-liberation fonts-liberation2' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes python3-setuptools python-setuptools python3-pygments python-pygments' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes rubber' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends texlive-full' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends make' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends fonts-liberation fonts-liberation2' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends python3-pygments' >> Dockerfile
|
||||
echo 'RUN apt-get update && apt-get install --yes --no-install-recommends rubber' >> Dockerfile
|
||||
echo 'ENV DEBIAN_FRONTEND=' >> Dockerfile
|
||||
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
function move_output_to_dist {
|
||||
find . -name "$1" -type f -print0 | xargs -0r mv -t /dist/
|
||||
}
|
||||
|
||||
# Create new directory
|
||||
mkdir -p /dist
|
||||
|
||||
# Move generated files
|
||||
move_output_to_dist "*.pdf"
|
||||
|
||||
tamarin_success "Done :-)"
|
||||
|
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd src
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Configuration générale du profil
|
||||
[profile]
|
||||
# Image Docker par défaut
|
||||
default_image=ubuntu:focal
|
||||
|
||||
# Configuration de l’étape de pré-construction du conteneur
|
||||
[containerbuild]
|
||||
hooks=
|
||||
containerbuild/doc-compiler/add-packages,
|
||||
containerbuild/doc-compiler/add-resources,
|
||||
|
||||
# Configuration de l’étape de pré-compilation des documents
|
||||
[prebuild]
|
||||
hooks=
|
||||
prebuild/debian/copy-sources-to-workspace,
|
||||
prebuild/debian/run-project-hooks,
|
||||
prebuild/debian/load-project-db,
|
||||
prebuild/doc-compiler/complete-project-db,
|
||||
|
||||
# Configuration de l’étape de compilation du document
|
||||
[build]
|
||||
hooks=build/doc-compiler/compile
|
||||
|
||||
# Configuration de l’étape de post-compilation du document
|
||||
[postbuild]
|
||||
hooks=
|
||||
postbuild/debian/run-project-hooks,
|
||||
postbuild/doc-compiler/export-dist,
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Configuration générale du profil
|
||||
[profile]
|
||||
# Image Docker par défaut
|
||||
default_image=ubuntu:jammy
|
||||
|
||||
# Configuration de l'étape de pré-construction du conteneur
|
||||
[containerbuild]
|
||||
hooks=
|
||||
containerbuild/debian/install-build-essential,
|
||||
containerbuild/debian/install-git,
|
||||
|
||||
# Configuration de l'étape de pré-construction du paquet
|
||||
[prebuild]
|
||||
hooks=
|
||||
prebuild/debian/copy-sources-to-workspace,
|
||||
prebuild/debian/run-project-hooks,
|
||||
prebuild/debian/load-project-db,
|
||||
prebuild/debian/complete-project-db,
|
||||
prebuild/eole/create-changelog,
|
||||
prebuild/debian/install-build-depends
|
||||
|
||||
# Configuration de l'étape de construction du paquet
|
||||
[build]
|
||||
hooks=build/debian/build
|
||||
|
||||
# Configuration de l'étape de post-construction du paquet
|
||||
[postbuild]
|
||||
hooks=
|
||||
postbuild/debian/run-project-hooks,
|
||||
postbuild/debian/export-dist
|
@ -1,28 +0,0 @@
|
||||
# Configuration générale du profil
|
||||
[profile]
|
||||
# Image Docker par défaut
|
||||
default_image=ubuntu:bionic
|
||||
|
||||
# Configuration de l'étape de pré-construction du conteneur
|
||||
[containerbuild]
|
||||
hooks=
|
||||
containerbuild/debian/install-build-essential,
|
||||
containerbuild/ubuntu/install-stdeb,
|
||||
|
||||
# Configuration de l'étape de pré-construction du paquet
|
||||
[prebuild]
|
||||
hooks=
|
||||
prebuild/debian/copy-sources-to-workspace,
|
||||
prebuild/debian/run-project-hooks,
|
||||
prebuild/debian/load-project-db,
|
||||
|
||||
# Configuration de l'étape de construction du paquet
|
||||
[build]
|
||||
hooks=build/stdeb/build
|
||||
|
||||
# Configuration de l'étape de post-construction du paquet
|
||||
[postbuild]
|
||||
hooks=
|
||||
postbuild/debian/run-project-hooks,
|
||||
postbuild/debian/export-dist
|
||||
|
Loading…
x
Reference in New Issue
Block a user