Skip to content

Commit

Permalink
Adds comment to explain behavior, closes #2203
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Jul 25, 2018
1 parent 86f4db4 commit 77a32bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.pl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub gen_assets {
);
move $temp_css, 'html/css/app.css'
or app->log->warn("Copying CSS failed: $!");

mkdir "html/js" unless -d "html/js";
move $temp_js, 'html/js/app.js'
or app->log->warn("Copying JS failed: $!");
Expand Down
6 changes: 2 additions & 4 deletions util/update-and-sync
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ exec >$LOGFILE 2>&1

echo "Building docs for $after with " `perl6 --version`
echo 'Cleaning out old HTML files'
# don't clean out html/ entirely, because there are some files
# under version control there
# build-log has been moved elsewhere, however
# find html/ -name '*.html' -delete # Old command
# Clean everything that is not under source control
git clean -xfd
# find html/ -name '*.html' -delete # Old command

# if the htmlify fails, sync the build log.
# since sync-build-log returns false, not the whole thing is synced
Expand Down

0 comments on commit 77a32bf

Please sign in to comment.