Closed Pierozi closed 7 years ago
Why adding cross
right?
Cross
is only in Makefile target, your not force to install it, but if you do not want theses script in the Project I understand, in this case maybe cloud just specify in Documentation / Readme under Dev Tools section.
Cross
was pretty easy for build and test multi environment quickly.
Makefile was only a lazy way to remember the command to launch.
This PR introduces 2 things: Docker stuff, and a Makefile. As far as I understand, they are not relateed. Please, choose one :-).
My bad, Makefile removed :)
docker-compose up test
Will auto build and execute test inside a container based on Dockerfiledocker-compose up -d cli
Will run container and keep it alive to be able to use interactive modeSorry to insist, but:
docker-compose up -d cli
What's the goal of this for this project?
as said
Will run container and keep it alive to be able to use interactive mode
Useful for debug mode when you want execute interactive command.
What interactive command do we have on this project :-/? Again, I am not convinced at all by the needs of Docker for this library :-(.
In this case, drop it! :) I'm aware a Docker is trivial for Tagua, the developer already have rust installed (obviously) It's just a virtual chroot to run test on proper versions and have a clean slate each time it's running.
@Pierozi Can you update the README.md
please :-)?
Following PR #97 of @mathroc
The Dockerfile has been fixed in order to run with success all the suite test. Makefile was also created to make it easier to run testing with different tools like
cross
with architecture emulation in QEMU inside docker.