Closed cstuder closed 2 years ago
Reasonable. Care to submit a patch? Only this line needs to be changed: https://github.com/entropia/tip-toi-reveng/blob/master/src/Commands.hs#L142
I don't speak Haskell, but I can have a look. (As soon as I manage to reliably print my OID codes....)
I can't get the build toolchain run on my current machine (running Mac OS).
Just a guess (no Haskell programmer, too) which I cannot test:
Replace
if ".yaml" `isSuffixOf` file
by
if (".yaml" `isSuffixOf` file) || (".yml" `isSuffixOf` file)
?
I could submit a pull request for that if that helps reducing the effort for you.
Actually
if ".yaml" `isSuffixOf` file || ".yml" `isSuffixOf` file
should work.
I’ll just do it, simpler that way.
Assembling a
.yml
file seems to work, but trying toplay
a.yml
file fails with the error messageThe official YAML FAQ asks to use
.yaml
, but the reality is that.yml
seems to be more popular.I propose that
tttool
should be able to handle both file extension version.