Alois Mahdal
740f30e75e
Enclose main body to main()
Makes it easier to grok the structure and keep the global space clean.
9 年前
Alois Mahdal
6fddf11510
Sort variables alphabetically
Order does not matter, therefore use canonical order to simplify updates.
9 年前
Alois Mahdal
806e85fce7
No need to export app version
9 年前
Alois Mahdal
66c6c62c54
Add optional codename to version info
9 年前
Alois Mahdal
99770e4f06
Move version printing routine to saturnin.sh module
9 年前
Alois Mahdal
c2d010c69b
Update meta-data for new Mkit version
9 年前
Alois Mahdal
ac6b62e952
Use non-specific global names where possible
Use of app name when naming of global variables and/or mkit tokens makes
upgrade of the saturnin template painful and error-prone, while none of
these variables can be overriden from environment so the namespacing
advantage is vain.
9 年前
Alois Mahdal
ed7847f49b
Use proper naming scheme
9 年前
Alois Mahdal
2fb1fdbcf3
Rename saturnin_meta module
Since saturnin's dedication to be "meta-command" builder, the distinction
between "meta" and something else does not make much sense.
9 年前
Alois Mahdal
800ad3cf89
Update according to safer import style
9 年前
Alois Mahdal
91a55e625b
Update after renaming of ffoo to shellfu
9 年前
Alois Mahdal
a8652e2986
split off bmo: Rebrand a bit
9 年前
Alois Mahdal
0561811acc
split off bmo: Move moving parts
9 年前
Alois Mahdal
6e84d62826
split off bmo: Rewrite moving parts
9 年前
Alois Mahdal
8a5dd0f421
Make saturnin subcommand more portable
9 年前
Alois Mahdal
6e128ebffd
Apply ShellCheck advice
9 年前
Alois Mahdal
9da376f256
Rename saturnin_common to saturnin_meta
The routines are all basically related to the meta-command functions.
9 年前
Alois Mahdal
6abb8c6621
Move common saturnin routines to a module
This module is intended to be moved around with saturnin, but unlike
main meta-command (bin/saturnin.skel), it should not be necessary to
rename it or edit to adapt to new project.
9 年前
Alois Mahdal
066c22b204
Fortify hook routine
Add checks for syntax errors and missing SATURNIN_SUBCOMMAND. In both
cases, ignore the hook.
9 年前
Alois Mahdal
c80c7d4a00
Use inigrep__mkpath to assemble FFOO_INIGREP_PATH
Minimize the "built part" and code repetition among saturnin "clones".
9 年前
Alois Mahdal
ad3a74047a
Move colon delimiting to generator
9 年前
Alois Mahdal
1303a48cfa
Add internal (plumbing) ffrun wrapper
To allow for experimenting with functions from embedded library.
9 年前
Alois Mahdal
7f630aeb92
Add internal (plumbing) commands from ffoom
This should help test and manage embedded Fastfoo library
9 年前
Alois Mahdal
3d7aab77f2
Port to ffoo v0.8: usage_is renamed
10 年前
Alois Mahdal
47bfddf9f3
Port to ffoo v0.8: config.sh renamed
10 年前
Alois Mahdal
61c7eb02e1
Make use of FFOO_PRETTY_USAGE mode
10 年前
Alois Mahdal
6af447c64f
Add internal subcommand _ls_subcommands
10 年前
Alois Mahdal
12b62db27a
Port to ffoo v0.8: exit.sh renamed
10 年前
Alois Mahdal
6f23cfc46e
Explicitly sort modules (by C locale)
10 年前
Alois Mahdal
2bf4170cd7
Move out routine to find sub-modules
10 年前
Alois Mahdal
84b11f1ffa
Use more informative function name
10 年前
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.
10 年前
Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
10 年前
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
10 年前
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.
10 年前
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
10 年前
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
10 年前
Alois Mahdal
8470af0975
Improve subcommand listing for help string
10 年前
Alois Mahdal
a3216edab4
Quote subcommand on input
10 年前
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
10 年前
Alois Mahdal
f31a28509b
Add support for printing simple SemVer version number
10 年前
Alois Mahdal
00bfb82799
Use canonical names for globals
10 年前
Alois Mahdal
8e11223246
Exit properly if importing ffoo.sh fails
10 年前
Alois Mahdal
3618dfe3f2
Follow symlinks when looking for dist and user paths
10 年前
Alois Mahdal
65f8d4b68c
Move also config paths
10 年前
Alois Mahdal
93775a243e
Use mkit from fastfoo for installation
10 年前
Alois Mahdal
68fea49476
Add cache home (~ XDG_CACHE_HOME)
10 年前
Alois Mahdal
ce3b94268c
Update to ffoo 0.4.0
10 年前
Alois Mahdal
f3d3f001a1
Fix up help message
10 年前
Alois Mahdal
b553865810
Update with new fastfoo
10 年前