From a402ae442901a6dd0337664c324e43a443286982 Mon Sep 17 00:00:00 2001 From: Roland Heyder Date: Sat, 13 Aug 2022 02:44:11 +0200 Subject: [PATCH] Step 14: So all good things are three - also switched curl to silent mode to shorten build logs --- .ci/make-dist.sh | 8 ++++++-- source/ide/wiki/wiki_methods.bas | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.ci/make-dist.sh b/.ci/make-dist.sh index 21a0cfd8c..6da8cc3b2 100755 --- a/.ci/make-dist.sh +++ b/.ci/make-dist.sh @@ -20,10 +20,14 @@ case "$buildPlatform" in esac # populate internal/help -# 1. copy static pages from repo: to dist: -# 2. update maintained pages from the Wiki +# 1. create folder in dist: +# 2. copy static pages from repo: to dist: +# 3. update maintained pages from the Wiki +# 4. cleanup internal/temp (repo:) +mkdir -p $DIST_ROOT/internal/help cp -rp ./internal/help $DIST_ROOT/internal/ ./qb64pe -u +rm -f ./internal/temp/files.txt mkdir -p $DIST_ROOT mkdir -p $DIST_ROOT/internal diff --git a/source/ide/wiki/wiki_methods.bas b/source/ide/wiki/wiki_methods.bas index 824ba9574..91cf8ba92 100644 --- a/source/ide/wiki/wiki_methods.bas +++ b/source/ide/wiki/wiki_methods.bas @@ -75,7 +75,7 @@ FUNCTION Wiki$ (PageName$) 'Read cached wiki page (download, if not yet cached) s2$ = "" 'Download page using curl - SHELL _HIDE "curl -o " + CHR$(34) + outputFile$ + CHR$(34) + " " + url$ + SHELL _HIDE "curl -s -o " + CHR$(34) + outputFile$ + CHR$(34) + " " + url$ fh = FREEFILE OPEN outputFile$ FOR BINARY AS #fh 'get new content a$ = SPACE$(LOF(fh))