So while trying to fix this, here's what I found out.
I made an example .tar.lzma file with an appropriate snapcraft.yaml file, and surprisingly, it extracted and executed my test Makefile (in the .tar.lzma file) successfully. I tried this without Snapcraft and it shows the following when I run tar -xvf test.tar.lzma:
$ tar -xvf test.tar.lzma
tar: This does not look like a tar archive
test/
test/Makefile
tar: Exiting with failure status due to previous errors
It spits some errors but successfully executes.
So *technically*, we already have support for this.
What now? Should I still try and add this functionality?
So while trying to fix this, here's what I found out.
I made an example .tar.lzma file with an appropriate snapcraft.yaml file, and surprisingly, it extracted and executed my test Makefile (in the .tar.lzma file) successfully. I tried this without Snapcraft and it shows the following when I run tar -xvf test.tar.lzma:
$ tar -xvf test.tar.lzma
tar: This does not look like a tar archive
test/
test/Makefile
tar: Exiting with failure status due to previous errors
It spits some errors but successfully executes.
So *technically*, we already have support for this.
What now? Should I still try and add this functionality?