9083fccb5871b78dfd08edd4e753d6943628eefe
- Replace `lut.incremental!` with a safer check using `if v := lut.incremental`. - This ensures that the test doesn't panic if `incremental` is unexpectedly nil. - The new assertions explicitly check for the existence of a value and its correctness. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
herolib
a smaller version of herolib with only the items we need for hero
automated install
curl 'https://raw.githubusercontent.com/freeflowuniverse/herolib/refs/heads/main/install_v.sh' > /tmp/install_v.sh
bash /tmp/install_v.sh --analyzer --herolib
#DONT FORGET TO START A NEW SHELL (otherwise the paths will not be set)
details
#~/code/github/freeflowuniverse/herolib/install_v.sh --help
V & HeroLib Installer Script
Usage: ~/code/github/freeflowuniverse/herolib/install_v.sh [options]
Options:
-h, --help Show this help message
--reset Force reinstallation of V
--remove Remove V installation and exit
--analyzer Install/update v-analyzer
--herolib Install our herolib
Examples:
~/code/github/freeflowuniverse/herolib/install_v.sh
~/code/github/freeflowuniverse/herolib/install_v.sh --reset
~/code/github/freeflowuniverse/herolib/install_v.sh --remove
~/code/github/freeflowuniverse/herolib/install_v.sh --analyzer
~/code/github/freeflowuniverse/herolib/install_v.sh --herolib
~/code/github/freeflowuniverse/herolib/install_v.sh --reset --analyzer # Fresh install of both
to test
to run the basic tests, important !!!
~/code/github/freeflowuniverse/herolib/test_basic.vsh
vtest ~/code/github/freeflowuniverse/herolib/lib/osal/package_test.v
#for a full dir
vtest ~/code/github/freeflowuniverse/herolib/lib/osal
#to do al basic tests
~/code/github/freeflowuniverse/herolib/test_basic.vsh
vtest is an alias to test functionality
important to read
Description
Release v1.0.38
Latest
Languages
V
89.4%
JavaScript
2.4%
HTML
2%
Shell
1.4%
CSS
1.4%
Other
3.3%