mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: run fast.v on freebsd
This commit is contained in:
@ -109,7 +109,7 @@ fn main() {
|
||||
// exec('git checkout master')
|
||||
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
||||
// Upload the result to github pages
|
||||
if !os.args.contains('-noupload') {
|
||||
if os.args.contains('upload') {
|
||||
os.chdir('website')
|
||||
os.execute_or_exit('git checkout gh-pages')
|
||||
os.cp('../index.html', 'index.html') ?
|
||||
|
@ -23,7 +23,7 @@ fn main() {
|
||||
return
|
||||
}
|
||||
// println('running ./fast')
|
||||
resp := os.execute('./fast')
|
||||
resp := os.execute('./fast -upload')
|
||||
if resp.exit_code < 0 {
|
||||
println(resp.output)
|
||||
return
|
||||
|
Reference in New Issue
Block a user