add drone CI to project
Squashed commit of the following: commit314aa4b989
Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Jul 26 21:29:34 2021 +0200 restrict ci on tags commitc39b0d98d9
Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Jul 26 17:59:27 2021 +0200 add explanation to README about dependencies [ci-skip] commitb935e1ba68
Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Jul 26 17:55:50 2021 +0200 clone submodules commit8dbc9aa196
Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Jul 26 17:52:23 2021 +0200 fix drone ci commit61fb8a8f66
Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Jul 26 15:34:35 2021 +0200 first impl for drone
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "This script is for building pandoc natively"
|
||||
#!/bin/sh
|
||||
|
||||
# enter the current directory
|
||||
cd "$(dirname $0)"
|
||||
export PANDOC_DIR=pandoc/cl
|
||||
|
||||
files=(
|
||||
export files="
|
||||
src/parcours.md
|
||||
)
|
||||
"
|
||||
|
||||
if [ -z $1 ]; then
|
||||
export target=pdf
|
||||
@@ -28,7 +26,7 @@ export LATEX_ARGS="
|
||||
"
|
||||
|
||||
|
||||
if [ $target == "debug" ]; then
|
||||
if [ $target == "latex" ]; then
|
||||
pandoc $ARGS $LATEX_ARGS \
|
||||
--to latex \
|
||||
$files;
|
||||
|
Reference in New Issue
Block a user