Alois Mahdal
12b62db27a
Port to ffoo v0.8: exit.sh renamed
il y a 9 ans
Alois Mahdal
6f23cfc46e
Explicitly sort modules (by C locale)
il y a 9 ans
Alois Mahdal
2bf4170cd7
Move out routine to find sub-modules
il y a 9 ans
Alois Mahdal
84b11f1ffa
Use more informative function name
il y a 9 ans
Alois Mahdal
1b7d7e32f1
Tidy up variable setting code
* Add docstring,
* add explanations for local variable names,
* separate export declarations,
* sort globals alphabetically,
* add built part delimiters,
* quote paths properly.
il y a 9 ans
Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
il y a 9 ans
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
il y a 9 ans
Alois Mahdal
5cf1e53792
Join hooks from all paths
Due to inigrep limitation, we cannot automatically cherry-pick hook.ini
based on where the hook is found--we can only have all hooks in one
file, or use join strategy.
il y a 9 ans
Alois Mahdal
a0d7664f08
Implement support for sub-command hooks
Add section like this to hook.ini:
[hook.mycomm]
pre = echo $SATURNIN_SUBCOMMAND will run soon
pre = echo $SATURNIN_SUBCOMMAND is almost running
post = echo $SATURNIN_SUBCOMMAND has finished now
il y a 9 ans
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
il y a 9 ans
Alois Mahdal
8470af0975
Improve subcommand listing for help string
il y a 9 ans
Alois Mahdal
a3216edab4
Quote subcommand on input
il y a 9 ans
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
il y a 9 ans
Alois Mahdal
f31a28509b
Add support for printing simple SemVer version number
il y a 9 ans
Alois Mahdal
00bfb82799
Use canonical names for globals
il y a 9 ans
Alois Mahdal
8e11223246
Exit properly if importing ffoo.sh fails
il y a 9 ans
Alois Mahdal
3618dfe3f2
Follow symlinks when looking for dist and user paths
il y a 9 ans
Alois Mahdal
65f8d4b68c
Move also config paths
il y a 9 ans
Alois Mahdal
93775a243e
Use mkit from fastfoo for installation
il y a 9 ans
Alois Mahdal
68fea49476
Add cache home (~ XDG_CACHE_HOME)
il y a 9 ans
Alois Mahdal
ce3b94268c
Update to ffoo 0.4.0
il y a 9 ans
Alois Mahdal
f3d3f001a1
Fix up help message
il y a 9 ans
Alois Mahdal
b553865810
Update with new fastfoo
il y a 9 ans
Alois Mahdal
51855e9f62
Update usage()
il y a 9 ans
Alois Mahdal
15f5538ed1
Get rid of "ini" notation
il y a 9 ans
Alois Mahdal
3bb0c94283
Add --version parameter
il y a 9 ans
Alois Mahdal
c697ebcf29
Update for ffoo-0.0.16
il y a 9 ans
Alois Mahdal
34b105b0bc
Revamp FFOO_INI_PATH logic
Config files can now be merged from 4 sources: distribution-provided,
(share folder), local (/etc/saturnin), user-specific (~/.saturnin and
~/saturnin/ini.d/*)
il y a 9 ans
Alois Mahdal
542cab051b
Add more usage triggers
il y a 9 ans
Alois Mahdal
7a95d78b9e
Mount command list from libexec dir
il y a 9 ans
Alois Mahdal
3edd388149
Fix sub-command environment
Paths are transferred by saturnin meta-command so there's no need
to build sub-command binaries
il y a 9 ans
Alois Mahdal
db545c4825
Move sub-commands to libexec
Move cub-command to libexec path to prevent calling them directly,
allowing for better control of environment.
il y a 9 ans
Alois Mahdal
08e0051c97
Remove dangling sub-command references
il y a 9 ans
Alois Mahdal
bf4df659a9
Clean up arg processor
il y a 9 ans
Alois Mahdal
29fed56d0a
Allow FFOO_DEBUG and FFOO_VERBOSE to sub-processes
il y a 9 ans
Alois Mahdal
1cea238812
Make nicer debug
il y a 9 ans
Alois Mahdal
9c313453ee
Allow FFOO_INI_PATH in subprocesses
il y a 9 ans
Alois Mahdal
db68ebc954
Add meta-command
il y a 9 ans