replace crystallib with herolib

This commit is contained in:
timurgordon
2025-01-22 23:57:49 +00:00
parent 915951d84f
commit dce0b71530
11 changed files with 18 additions and 18 deletions

View File

@@ -73,7 +73,7 @@ to call in code
import freeflowuniverse.herolib.core.generator.generic
generic.scan(path:"~/code/github/freeflowuniverse/crystallib/crystallib/installers",force:true)!
generic.scan(path:"~/code/github/freeflowuniverse/herolib/herolib/installers",force:true)!
```
@@ -81,6 +81,6 @@ generic.scan(path:"~/code/github/freeflowuniverse/crystallib/crystallib/installe
to run from bash
```bash
~/code/github/freeflowuniverse/crystallib/scripts/fix_installers.vsh
~/code/github/freeflowuniverse/herolib/scripts/fix_installers.vsh
```

View File

@@ -103,17 +103,17 @@ fn cmd_bootstrap_execute(cmd Command) ! {
}
if compileupload {
// mycmd:='
// \${HOME}/code/github/freeflowuniverse/crystallib/scripts/package.vsh
// \${HOME}/code/github/freeflowuniverse/herolib/scripts/package.vsh
// '
// osal.exec(cmd: mycmd)!
println('please execute:\n~/code/github/freeflowuniverse/crystallib/scripts/githubactions.sh')
println('please execute:\n~/code/github/freeflowuniverse/herolib/scripts/githubactions.sh')
}
if update {
// mycmd:='
// \${HOME}/code/github/freeflowuniverse/crystallib/scripts/package.vsh
// \${HOME}/code/github/freeflowuniverse/herolib/scripts/package.vsh
// '
// osal.exec(cmd: mycmd)!
println('please execute:\n~/code/github/freeflowuniverse/crystallib/scripts/install_hero.sh')
println('please execute:\n~/code/github/freeflowuniverse/herolib/scripts/install_hero.sh')
}
}

View File

@@ -13,8 +13,8 @@ pub fn cmd_init(mut cmdroot Command) {
Initialization Helpers for Hero
-r will reset everything e.g. done states (when installing something)
-d will put the platform in development mode, get V, crystallib, hero...
-c will compile hero on local platform (requires local crystallib)
-d will put the platform in development mode, get V, herolib, hero...
-c will compile hero on local platform (requires local herolib)
'
description: 'initialize hero environment (reset, development mode, )'
@@ -58,7 +58,7 @@ Initialization Helpers for Hero
required: false
name: 'gitpull'
abbrev: 'gp'
description: 'will try to pull git repos for crystallib.'
description: 'will try to pull git repos for herolib.'
})
cmd_run.add_flag(Flag{

View File

@@ -40,7 +40,7 @@ pub fn cmd_installers(mut cmdroot Command) {
required: false
name: 'gitpull'
abbrev: 'gp'
description: 'e.g. in crystallib or other git repo pull changes.'
description: 'e.g. in herolib or other git repo pull changes.'
})
cmd_run.add_flag(Flag{
@@ -48,7 +48,7 @@ pub fn cmd_installers(mut cmdroot Command) {
required: false
name: 'gitreset'
abbrev: 'gr'
description: 'e.g. in crystallib or other git repo pull & reset changes.'
description: 'e.g. in herolib or other git repo pull & reset changes.'
})
cmdroot.add_command(cmd_run)
}

View File

@@ -3,7 +3,7 @@
## page_not_found
path: /Users/timurgordon/code/github/freeflowuniverse/crystallib/crystallib/data/doctree/collection/testdata/export_test/mytree/dir1/dir2/file1.md
path: /Users/timurgordon/code/github/freeflowuniverse/herolib/herolib/data/doctree/collection/testdata/export_test/mytree/dir1/dir2/file1.md
msg: page col3:file5.md not found

View File

@@ -1 +1 @@
name:col1 src:'/Users/timurgordon/code/github/freeflowuniverse/crystallib/crystallib/data/doctree/testdata/export_test/mytree/dir1'
name:col1 src:'/Users/timurgordon/code/github/freeflowuniverse/herolib/herolib/data/doctree/testdata/export_test/mytree/dir1'

View File

@@ -3,7 +3,7 @@
## page_not_found
path: /Users/timurgordon/code/github/freeflowuniverse/crystallib/crystallib/data/doctree/testdata/export_test/mytree/dir1/dir2/file1.md
path: /Users/timurgordon/code/github/freeflowuniverse/herolib/herolib/data/doctree/testdata/export_test/mytree/dir1/dir2/file1.md
msg: page col3:file5.md not found

View File

@@ -1 +1 @@
name:col2 src:'/Users/timurgordon/code/github/freeflowuniverse/crystallib/crystallib/data/doctree/testdata/export_test/mytree/dir3'
name:col2 src:'/Users/timurgordon/code/github/freeflowuniverse/herolib/herolib/data/doctree/testdata/export_test/mytree/dir3'

View File

@@ -102,7 +102,7 @@ pub fn (mut gs GitStructure) gitlocation_from_url(url string) !GitLocation {
}
}
// Return a crystallib path object on the filesystem pointing to the locator
// Return a herolib path object on the filesystem pointing to the locator
pub fn (mut l GitLocation) patho() !pathlib.Path {
mut addrpath := pathlib.get_dir(path: '${l.provider}/${l.account}/${l.name}', create: false)!
if l.path.len > 0 {

View File

@@ -1,7 +1,7 @@
export PATH=${home_dir}/hero/bin:??PATH
export TERM=xterm
cd ${home_dir}/code/github/freeflowuniverse/crystallib/cli/hero
cd ${home_dir}/code/github/freeflowuniverse/herolib/cli/hero
PRF="${home_dir}/.profile"
[ -f "??PRF" ] && source "??PRF"

View File

@@ -85,7 +85,7 @@ print("==RESULT==")
print(json_string)
```
> see `crystallib/examples/lang/python/pythonexample.vsh`
> see `herolib/examples/lang/python/pythonexample.vsh`
## remark