Scripts to create lambdacube development environment as a Docker image.
The created docker image serves two purposes, the first is to help newcomers to start as early as possible, the second is to speed up the travis build.
Development with docker
The lambdacube development environment is packed as a docker image to facilitate the first steps of a new developer as everything related to the project is packed in this repo/image.
Usage with docker:
- Install docker on your machine See more...
docker pull lambdacube3d/lambdacube3dSee more...
- Git clone
- Git clone
./dev.sh /path/to/lambdacube-compiler /path/to/lambdacube-irThe docker image has two optional volumes one is to the compiler and the other is to the ir, which is mainly a technical thing. This command will open a bash terminal on the docker image. You can use the installed ghc toolset to build and test the lambdacube compiler.
- Go to
/root/source/lambdacube-compiler/srcin the docker terminal
- Hack on the desired functionality outside the docker terminal.
- Run the test suite within the docker terminal like
- When you are done create a pull request
Howto bump lambdacube-compiler + lambdacube-ir submodules in this repo
git pullin this repo
git submodule update
(cd lambdacube-compiler; git pull)
- git commit
Development without docker
It is not mandatory to use the docker image to develop lambdacube3d-compiler. In that case, the user has to install GHC and all related machinery to compile the lambdacube3d compiler. The regular GHC and Cabal installation process is enough to install the lambdacube-compiler and lambdacube-ir