mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 12:46:31 +00:00
fix makefile and remove dev-env/
This commit is contained in:
parent
26b62ef401
commit
e4f2452427
@ -1,5 +0,0 @@
|
||||
FROM archlinux
|
||||
RUN pacman -Syu --noconfirm
|
||||
RUN pacman -S make clang git pkg-config --noconfirm
|
||||
WORKDIR /workspace
|
||||
ENTRYPOINT ["/bin/bash"]
|
@ -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
|
@ -1,9 +1,9 @@
|
||||
from gcc
|
||||
FROM gcc
|
||||
|
||||
WORKDIR /workdir
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN make -j 8
|
||||
RUN make
|
||||
|
||||
ENTRYPOINT [ "./build/sliger", "run", "out.slgbc" ]
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user