make work for windows
This commit is contained in:
parent
0d2e03a5a9
commit
190ecc8fd8
@ -28,5 +28,4 @@ RUN ln -s /opt/conda/bin/python3 /usr/local/bin/python3
|
|||||||
RUN ln -s /opt/conda/bin/python3 /usr/local/bin/python
|
RUN ln -s /opt/conda/bin/python3 /usr/local/bin/python
|
||||||
|
|
||||||
# 3. Source code
|
# 3. Source code
|
||||||
RUN git clone --recurse-submodules https://github.com/solokeys/solo /solo
|
RUN git clone --recurse-submodules https://github.com/solokeys/solo /solo --config core.autocrlf=input
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -78,7 +78,9 @@ DOCKER_IMAGE := "solokeys/solo-firmware:local"
|
|||||||
SOLO_VERSIONISH := "master"
|
SOLO_VERSIONISH := "master"
|
||||||
docker-build:
|
docker-build:
|
||||||
docker build -t $(DOCKER_IMAGE) .
|
docker build -t $(DOCKER_IMAGE) .
|
||||||
docker run --rm -v$(PWD)/builds:/builds -v$(PWD)/in-docker-build.sh:/in-docker-build.sh $(DOCKER_IMAGE) /in-docker-build.sh $(SOLO_VERSIONISH)
|
docker run --rm -v "$(CURDIR)/builds:/builds" \
|
||||||
|
-v "$(CURDIR)/in-docker-build.sh:/in-docker-build.sh" \
|
||||||
|
$(DOCKER_IMAGE) /in-docker-build.sh $(SOLO_VERSIONISH)
|
||||||
|
|
||||||
CPPCHECK_FLAGS=--quiet --error-exitcode=2
|
CPPCHECK_FLAGS=--quiet --error-exitcode=2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user