Skip to content

Commit

Permalink
[#3664] Fix site build scripts
Browse files Browse the repository at this point in the history
Removed obsolete -v flag.
  • Loading branch information
sophokles73 committed Nov 21, 2024
1 parent 1b4ba2b commit e6eb0f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions site/build-site.bat
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ IF ERRORLEVEL 1 (
cd homepage
IF NOT "%~1"=="" (
ECHO Going to build homepage in directory: %1
hugo -v -d %1
hugo build -d %1
) ELSE (
ECHO Going to build homepage in default directory...
hugo -v
hugo build
)
cd ..

cd documentation
IF NOT "%~1"=="" (
ECHO Going to build documentation in directory: %1\docs
hugo -v -d %1\docs
hugo build -d %1\docs
) ELSE (
ECHO Going to build documentation in default directory...
hugo -v
hugo build
)
cd ..
4 changes: 2 additions & 2 deletions site/build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ fi

cd homepage || exit
echo "Building homepage in directory: $TARGET"
hugo -v -d $TARGET
hugo build -d $TARGET
cd ..

cd documentation || exit
echo "Building documentation in directory: $TARGET/docs"
hugo -v -d $TARGET/docs
hugo build -d $TARGET/docs
cd ..

0 comments on commit e6eb0f3

Please sign in to comment.