fix makefile and remove dev-env/

This commit is contained in:
Mikkel Kongsted 2024-12-16 11:23:38 +01:00
parent 26b62ef401
commit e4f2452427
4 changed files with 2 additions and 11 deletions

View File

@ -1,5 +0,0 @@
FROM archlinux
RUN pacman -Syu --noconfirm
RUN pacman -S make clang git pkg-config --noconfirm
WORKDIR /workspace
ENTRYPOINT ["/bin/bash"]

View File

@ -1,3 +0,0 @@
#!/bin/sh
docker build -t slige-dev-env dev-env
docker run --name dev-env --rm -it --mount type=bind,source="$(pwd)"/,target=/workspace slige-dev-env

View File

@ -1,9 +1,9 @@
from gcc
FROM gcc
WORKDIR /workdir
COPY . .
RUN make -j 8
RUN make
ENTRYPOINT [ "./build/sliger", "run", "out.slgbc" ]

View File

@ -38,7 +38,6 @@ all: build_dir $(OUT)
$(OUT): $(CXX_OBJECTS)
$(CXX) -o $@ $(CXX_FLAGS) $^
git rev-parse HEAD > build/rev
build_dir:
mkdir -p build/