Skip to content

Commit

Permalink
make build.vsh more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 26, 2024
1 parent 0b4761e commit 5bdc355
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.vsh
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import os
import log

os.chdir(os.dir(@FILE))!

log.info('start generating html pages from docs.md')

log.info(' ensure we are working on top of the latest changes ...')
os.system('git pull --rebase origin main')

log.info(' cloning latest version of the generator sources ...')
os.system('rm -rf docs_generator/')
os.system('git clone --branch generator https://github.com/vlang/docs docs_generator/')
Expand Down

0 comments on commit 5bdc355

Please sign in to comment.