Compare commits

..

2 commits

Author SHA1 Message Date
Jakub
c0f8635b0b Document .dir-locals.el and deps.lock 2026-04-26 16:09:06 +08:00
Jakub
a6fa07ff26 Use deps-lock for dependencies 2026-04-26 16:08:09 +08:00
3 changed files with 24 additions and 3 deletions

View file

@ -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
# Install egg dependencies
RUN chicken-install -from-list deps.lock

View file

@ -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 <module> ..~ to build a particular module, the ~./<module>~ to run it.

14
deps.lock Normal file
View file

@ -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")