Alois Mahdal
49c75acc59
Update mkhelp docstring
9 years ago
Alois Mahdal
83289c736e
Do not coerce 'mkhelp' to 'mkusage' style
Not sure why I did it in the first place.
9 years ago
Alois Mahdal
bb41e83baf
Remove unnecessary bitter note
9 years ago
Alois Mahdal
84ec78a90c
Use more appropriate classes
9 years ago
Alois Mahdal
fb719e51e3
Do not force line mode
This disables user from choosing different mode; behave as other
printers.
9 years ago
Alois Mahdal
89b02aacc0
Work properly with '-' or /dev/stdin
/dev/stdin will be treated as normal file, albeit `test -s` would detect
it as non-existent. '-' will cause STDIN to be used as wellm but will
omit header.
9 years ago
Alois Mahdal
ed25fd2305
Add missing docstrings
9 years ago
Alois Mahdal
f2a8112560
Fix usage when _pretty__* called directly
exit does not work as we want in subshell, so we need to exit higher.
9 years ago
Alois Mahdal
d05232a7dd
Fix typo in _expand_fspec_to_fun
Introduced by fefce4a0, typo invalidated catfun and ffdoc
9 years ago
Alois Mahdal
4df409f0ec
Add tests on documentation features
9 years ago
Alois Mahdal
2041756e5e
Exit properly if core import fails
9 years ago
Alois Mahdal
c8db434ff4
Add/remove MKIT_LOCAL as needed
9 years ago
Alois Mahdal
f0eb035b4d
Update .gitignore for new mkit
9 years ago
Alois Mahdal
8333bbdf98
Skip cleanup if built.list is empty
9 years ago
Alois Mahdal
608bfcdc66
Move mkit local files to own subdir
9 years ago
Alois Mahdal
eb00c7d2ab
Update TFKit to version v0.0.4
9 years ago
Alois Mahdal
bdf3d8cf44
Update TFKit to version v0.0.3
9 years ago
Alois Mahdal
bf5ee65230
Do not treat DEST as directory if it exists
9 years ago
Alois Mahdal
8cbe243afc
Add better parameter checking
9 years ago
Alois Mahdal
e6d0091346
Apply changes suggested by ShellCheck (core)
9 years ago
Alois Mahdal
94cfc767ab
Apply changes suggested by ShellCheck (docs)
9 years ago
Alois Mahdal
7147c2248d
Apply changes suggested by ShellCheck (tests)
9 years ago
Alois Mahdal
b68913c9cb
Apply changes suggested by ShellCheck (mkit)
9 years ago
Alois Mahdal
ff5babb4f4
Exit with correct status
9 years ago
Alois Mahdal
84a76f7d2a
Compact case item
9 years ago
Alois Mahdal
36adafec09
Add check on version bump
In mkit's world, last change before release (ie. the commit that gets
tagged) must be nothing but version bump in "config.mk"
9 years ago
Alois Mahdal
9a335940c4
Die sooner if last tag cannot be found
Other checks that rely on version number that is derived from this tag
would then give weird messages.
9 years ago
Alois Mahdal
752d441738
Update to TFKit version "0.0.0+master.g94744f5"
A first version that is versioned
9 years ago
Alois Mahdal
edd449170a
Install include as one directory
9 years ago
Alois Mahdal
87f76cd937
Simplify case machine for version suffix
9 years ago
Alois Mahdal
5c5e4e54d4
Fix missing '.dirty' suffix
9 years ago
Alois Mahdal
a4c39428e3
Do not cripple version if last tag was not found
IOW, it's not guaranteed that once we are in git repo we can always see
the tag. VERSION should be reliable, though.
9 years ago
Alois Mahdal
8438418a76
Only check for PREFIX from install and uninstall
So that one can still build without having it set properly.
9 years ago
Alois Mahdal
ad8038de6d
Support directory targets
9 years ago
Alois Mahdal
d1b0f5447c
Clarify message about non-existent PREFIX directory
We still want user to create PREFIX dir themselves, but the message was
unclear about what is actually wrong.
9 years ago
Alois Mahdal
865d6f5b8a
Canonicalize correctly even if PREFIX does not exist
The existence test is done on next line, and with -f in place,
canonicalization or non-existent PREFIX leads to empty PREFIX which
makes the next message confusing
9 years ago
Alois Mahdal
8c7acc7c52
Update to new tfkit (gdca322f)
9 years ago
Alois Mahdal
3366318bc6
Update to new tfkit (g122272a)
9 years ago
Alois Mahdal
39a973338b
Move mkit to a subdirectory
9 years ago
Alois Mahdal
51a3f62640
Move mkit's config.ini to separate folder
Use MKIT_INI to specify path or default to mkit.ini in $PWD
9 years ago
Alois Mahdal
6689da6f32
Make mkit movable to other dir
* Move targets to mkit/mkit.mk,
* make `mkit/make` and rest of mkit use MKIT_DIR for own path.
9 years ago
Alois Mahdal
d5be139f46
Fix order in ffoo_api test
9 years ago
Alois Mahdal
a07d10d4d4
Update ffoo_api test after changes in stack processing
9 years ago
Alois Mahdal
abb02eeedc
Add PATH assembly helper
9 years ago
Alois Mahdal
99f92d6d4b
Fortify argument processor
9 years ago
Alois Mahdal
581223cb72
Add bash completion for ffoom
9 years ago
Alois Mahdal
9d5d2e1175
Rename usage_is to mkusage
9 years ago
Alois Mahdal
e7004f45d8
Improve caller/frontend processing
* Split to functions more properly,
* save calling of head,
* save calling of perl,
* keep own data at one place,
* make _pretty__echo more readable.
9 years ago
Alois Mahdal
671790657f
Add mkhelp for --help printing
9 years ago
Alois Mahdal
ebef30033e
Remove module variable from ffoo.sh
9 years ago