Utiliser le script de build et les répertoires output pour la documentation

This commit is contained in:
Benjamin Bohard 2022-08-08 11:51:55 +02:00
parent 5d6e2e7b1a
commit 066815bc53
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
pushd /src
make build
build
popd

View File

@ -1,14 +1,13 @@
#!/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"
pushd /src
mv ./output_public /dist/public
mv ./output_private /dist/private
popd
tamarin_success "Done :-)"