tt
tt copied to clipboard
``tt build`` command in cartridge app deleted user's ``doc`` directory
I had cartridge app and wanted to switch to tt
instead of cartridge
. I ran tt build
, it had built, but removed my doc
dir.
This issue is due to post-build script invocation. It must be invoked in the pack
command after building an app and use temporary app directory as a working dir for the commands in a post-build script.
cartridge build
does not run post-build script, and nothing was deleted after cartridge build
I met the same behaviour and was surprised