1
1
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:
Dennis Felsing 2017-05-23 14:46:37 +02:00 committed by def
parent 5cbf662a19
commit 4603f2a931
3 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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