Skip to content

Commit

Permalink
Fix up makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Jan 13, 2018
1 parent c03bf1d commit 77acb9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ copy:
cp -R bindings/c/include battlecode/c/include

copy-linux:
mkdir -p docker-artifacts
ID=$$(docker create linuxbuild);\
docker cp $$ID:/battlecode docker-artifacts/linux-battlecode;\
docker rm -v $$ID
cp docker-artifacts/linux-battlecode/python/battlecode/linux/* battlecode/python/battlecode/linux/
cp docker-artifacts/linux-battlecode/java/bc/*linux* battlecode/java/bc/
cp docker-artifacts/linux-battlecode/c/lib/*linux* battlecode/c/lib/
Expand Down Expand Up @@ -53,9 +57,6 @@ generate:
linux-libs:
docker build -t linuxbuild -f LinuxBuildDockerfile .
mkdir -p docker-artifacts/
ID=$$(docker create linuxbuild);\
docker cp $$ID:/battlecode docker-artifacts/linux-battlecode;\
docker rm -v $$ID

docker-sandbox:
docker build -t battlebaby -f SandboxDockerfile . --squash
Expand Down

0 comments on commit 77acb9f

Please sign in to comment.