27 lines
736 B
GLSL
Executable File
27 lines
736 B
GLSL
Executable File
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.data.doctree
|
|
|
|
mut tree := doctree.new(name: 'test')!
|
|
|
|
// path string
|
|
// heal bool = true // healing means we fix images
|
|
// git_url string
|
|
// git_reset bool
|
|
// git_root string
|
|
// git_pull bool
|
|
// load bool = true // means we scan automatically the added collection
|
|
for project in 'projectinca, legal, why, web4,tfgrid3'.split(',').map(it.trim_space()) {
|
|
tree.scan(
|
|
git_url: 'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/collections/${project}'
|
|
git_pull: false
|
|
)!
|
|
}
|
|
|
|
tree.export(
|
|
destination: '/tmp/test'
|
|
reset: true
|
|
keep_structure: true
|
|
exclude_errors: false
|
|
)!
|