Profil générique pour la compilation de documents
This commit is contained in:
14
hooks/postbuild/doc-compiler/export-dist
Normal file
14
hooks/postbuild/doc-compiler/export-dist
Normal file
@ -0,0 +1,14 @@
|
||||
#!/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 :-)"
|
||||
|
Reference in New Issue
Block a user