diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b1324b1..5aaf59e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -8,8 +8,8 @@ ENV DISPLAY=:0 RUN apt install -y build-essential git RUN apt install -y chicken-bin -# Install chicken dependencies -RUN chicken-install srfi-99 srfi-1 srfi-113 srfi-69 csm srfi-78 +# Install chicken tools +RUN chicken-install beaker csm # Install raylib RUN apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev @@ -18,4 +18,5 @@ cd raylib/src/ && \ make PLATFORM=PLATFORM_DESKTOP && \ make install -RUN chicken-install raylib \ No newline at end of file +# Install egg dependencies +RUN chicken-install -from-list deps.lock \ No newline at end of file diff --git a/COLLABORATION.org b/COLLABORATION.org index ae7ef8b..36a7956 100644 --- a/COLLABORATION.org +++ b/COLLABORATION.org @@ -11,6 +11,12 @@ Once both of the above are installed, the devcontainer can be started with ~devc Once the devcontainer is running, enter it with ~devcontainer exec --workspace-folder . bash~. This will put you at the repository root. +* Dependencies +The ~deps.lock~ file contains the versions of eggs used in this repository. They can be installed with ~chicken-install -from-list deps.lock~. + +* Collaborating with Emacs +The ~.dir-locals.el~ file automatically sets the Geiser Scheme implementation to Chicken, for any Scheme source file in this directory. + * Running Tests & Samples From the ~build~ directory, run ~csm -program ..~ to build a particular module, the ~./~ to run it. diff --git a/deps.lock b/deps.lock new file mode 100644 index 0000000..5740b68 --- /dev/null +++ b/deps.lock @@ -0,0 +1,14 @@ +("raylib" "1.2.0") +("srfi-1" "0.5.1") +("r7rs" "1.0.12") +("srfi-69" "0.4.3") +("matchable" "1.2") +("srfi-113" "2.0.0") +("foreigners" "1.5") +("srfi-99" "1.4.5") +("srfi-14" "0.2.1") +("miscmacros" "1.0") +("srfi-78" "0.5") +("srfi-42" "1.76") +("srfi-128" "0.11") +("srfi-13" "0.3.4")