mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 13:55:55 +03:00
Update to Nim 0.17.0
This commit is contained in:
parent
5cbf662a19
commit
4603f2a931
@ -566,11 +566,11 @@ cd make
|
||||
make -f stepX_YYY.mk
|
||||
```
|
||||
|
||||
### Nim 0.15.2
|
||||
### Nim 0.17.0
|
||||
|
||||
*The Nim implementation was created by [Dennis Felsing (def-)](https://github.com/def-)*
|
||||
|
||||
The Nim implementation of mal has been tested with Nim 0.15.2.
|
||||
The Nim implementation of mal has been tested with Nim 0.17.0.
|
||||
|
||||
```
|
||||
cd nim
|
||||
|
@ -26,10 +26,10 @@ RUN apt-get -y install g++
|
||||
|
||||
# Nim
|
||||
RUN apt-get -y install xz-utils
|
||||
RUN cd /tmp && curl -O http://nim-lang.org/download/nim-0.16.0.tar.xz \
|
||||
&& tar xvJf /tmp/nim-0.16.0.tar.xz && cd nim-0.16.0 \
|
||||
RUN cd /tmp && curl -O http://nim-lang.org/download/nim-0.17.0.tar.xz \
|
||||
&& tar xvJf /tmp/nim-0.17.0.tar.xz && cd nim-0.17.0 \
|
||||
&& make && sh install.sh /usr/local/bin \
|
||||
&& cp bin/nim /usr/local/bin/ \
|
||||
&& rm -r /tmp/nim-0.16.0
|
||||
&& rm -r /tmp/nim-0.17.0
|
||||
|
||||
ENV HOME /mal
|
||||
|
@ -116,10 +116,10 @@ RUN luarocks install linenoise
|
||||
RUN npm install -g minimal-lisp
|
||||
|
||||
# Nim
|
||||
RUN cd /tmp && wget http://nim-lang.org/download/nim-0.11.0.tar.xz \
|
||||
&& tar xvJf /tmp/nim-0.11.0.tar.xz && cd nim-0.11.0 \
|
||||
RUN cd /tmp && wget http://nim-lang.org/download/nim-0.17.0.tar.xz \
|
||||
&& tar xvJf /tmp/nim-0.17.0.tar.xz && cd nim-0.17.0 \
|
||||
&& make && sh install.sh /usr/local/bin \
|
||||
&& rm -r /tmp/nim-0.11.0
|
||||
&& rm -r /tmp/nim-0.17.0
|
||||
|
||||
# OCaml
|
||||
RUN apt-get -y install ocaml-batteries-included
|
||||
|
Loading…
Reference in New Issue
Block a user