Skip to content

Commit

Permalink
Use rsync instead of mv in build.vsh
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 26, 2024
1 parent ef052ad commit e27bb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ then follow the instructions in its
[README.md](https://github.com/vlang/docs/blob/generator/README.md) file.

## External dependencies
You'll need [V](https://github.com/vlang/v?tab=readme-ov-file#installing-v-from-source),
You'll need `rsync`, [V](https://github.com/vlang/v?tab=readme-ov-file#installing-v-from-source),
and [sass](https://sass-lang.com/install/) .
3 changes: 1 addition & 2 deletions build.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ os.chdir('docs_generator/')!

os.system('v install')
os.system('v run .')
os.system('mv output/* ../')

os.chdir('..')!
os.system('rsync -a docs_generator/output/ ./')
os.system('git add .')
os.system('git commit -m "${latest_v_commit_hash} - update doc pages"')

Expand Down

0 comments on commit e27bb7e

Please sign in to comment.