Skip to content

Commit

Permalink
cleanup build.vsh
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 26, 2024
1 parent 2c379f4 commit dd01551
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.vsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os

output_folder_content := 'output/' + '*'

commit_res := os.execute('git ls-remote -h https://github.com/vlang/v.git refs/heads/master')
latest_v_commit_hash := commit_res.output.all_before('\t')#[..7]
println('Latest V master commit hash: ${latest_v_commit_hash}')
Expand All @@ -12,7 +10,7 @@ os.chdir('docs_generator/')!

os.system('v install')
os.system('v run .')
os.system('mv ${output_folder_content} ../')
os.system('mv output/* ../')

os.chdir('..')!
os.system('git add .')
Expand Down

0 comments on commit dd01551

Please sign in to comment.