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.
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/lambdacube3d
See more...- Git clone
lambdacube-compiler
See more... - Git clone
lambdacube-ir
See more... ./dev.sh /path/to/lambdacube-compiler /path/to/lambdacube-ir
The 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/src
in the docker terminal - Hack on the desired functionality outside the docker terminal.
- Run the test suite within the docker terminal like
./run-test-suite.sh
- When you are done create a pull request
git pull
in this repogit submodule update
(cd lambdacube-compiler; git pull)
- git commit
git push
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