commit da706790ddd3abcd2bcec62bb07158cd9d44536c
parent 7f8d6a4a0e04f313e127267e9bb5d7045f33dd50
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date: Fri, 5 Aug 2016 09:50:09 -0400
Add dashes before steps comments.
Diffstat:
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/functions/build-pandoc-templates.sh b/functions/build-pandoc-templates.sh
@@ -2,7 +2,7 @@
# Convert Mustache templates into Pandoc templates
build_pandoc_templates () {
- echo "Convert Mustache templates into Pandoc templates"
+ echo "- Convert Mustache templates into Pandoc templates"
# Purge the $TPL_PANDOC_PATH/ folder before the conversion
rm -Rf $TPL_PANDOC_PATH/*.html
diff --git a/functions/clean-content-folder.sh b/functions/clean-content-folder.sh
@@ -2,12 +2,12 @@
# Then remove those in the content folder
clean_content_folder () {
- echo "Clean the content/ folder from all the HTML files"
+ echo "- Clean the content/ folder from all the HTML files"
find $CONTENT_PATH/ -name \*.html -type f -delete
# After that remove empty directories
- echo "Clean the content/ folder from all the empty directories"
+ echo "- Clean the content/ folder from all the empty directories"
find $CONTENT_PATH/ -type d -empty -delete
}
diff --git a/functions/create-html-pages.sh b/functions/create-html-pages.sh
@@ -5,7 +5,7 @@
# Create all the HTML pages with pandoc
create_html_pages () {
- echo "Create all the HTML pages with pandoc"
+ echo "- Create all the HTML pages with pandoc"
get_pandoc_templates
diff --git a/functions/create-html-sections.sh b/functions/create-html-sections.sh
@@ -2,7 +2,7 @@
# Create section page list
create_html_sections () {
- echo "Create section page list"
+ echo "- Create section page list"
get_pandoc_templates
diff --git a/functions/get-static-files.sh b/functions/get-static-files.sh
@@ -2,7 +2,7 @@
# Rsync the static files into the public_html/ folder
get_static_files () {
- echo "Rsync the static files into the public_html/ folder"
+ echo "- Rsync the static files into the public_html/ folder"
rsync -avmh $ASSETS_PATH/ $PUBLICHTML_PATH/
}
diff --git a/functions/move-html-to-publichtml.sh b/functions/move-html-to-publichtml.sh
@@ -1,8 +1,8 @@
#!/bin/bash
# Rsync all HTML files and folders to the public_html folder
-move_html_to_publichtml () {
- echo "Rsync all HTML files and folders to the public_html/ folder"
+move_html_to_publichtml () {
+ echo "- Rsync all HTML files and folders to the public_html/ folder"
rsync -avmh --include='*.html' -f 'hide,! */' $CONTENT_PATH/ $PUBLICHTML_PATH/
}