mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
This commit is contained in:
parent
cb976c7e17
commit
269462425a
2 changed files with 23 additions and 11 deletions
|
@ -133,10 +133,11 @@ fn init_project() {
|
|||
c.write_vmod(false)
|
||||
println('Change the description of your project in `v.mod`')
|
||||
}
|
||||
|
||||
c.files << ProjectFiles{
|
||||
path: 'src/main.v'
|
||||
content: hello_world_content()
|
||||
if !os.exists('src/main.v') {
|
||||
c.files << ProjectFiles{
|
||||
path: 'src/main.v'
|
||||
content: hello_world_content()
|
||||
}
|
||||
}
|
||||
c.create_files_and_directories()
|
||||
c.write_gitattributes(false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue