commit 0dcbef862a5cac6b57aeeb53e85c48606de3968c
parent f4cd3be1bcc4a607fb8868ca16fdb7caf3856047
Author: Risto Stevcev <me@risto.codes>
Date: Sat, 26 Jun 2021 23:30:20 +0200
Reorganized files
Diffstat:
5 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+micropm.tar
diff --git a/Makefile b/Makefile
@@ -0,0 +1,4 @@
+.PHONY: default
+
+default:
+ tar cf micropm.tar micropm-docker/ micropm-get .envrc
diff --git a/get-deps.sh b/get-deps.sh
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-SYSTEM_NAME=$1
-
-docker build . --rm -t "$SYSTEM_NAME" --build-arg SYSTEM_NAME="$SYSTEM_NAME"
-docker create --name "$SYSTEM_NAME" "$SYSTEM_NAME" bash
-docker cp "$SYSTEM_NAME":/home/lisp/quicklisp/dists/quicklisp/software/ lisp-systems/
-docker rm "$SYSTEM_NAME"
-docker rmi "$SYSTEM_NAME"
diff --git a/Dockerfile b/micropm-docker/Dockerfile
diff --git a/micropm-get b/micropm-get
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+SYSTEM_NAME=$1
+
+docker build -f ./micropm-docker/Dockerfile . --rm -t "$SYSTEM_NAME" --build-arg SYSTEM_NAME="$SYSTEM_NAME"
+docker create --name "$SYSTEM_NAME" "$SYSTEM_NAME" bash
+docker cp "$SYSTEM_NAME":/home/lisp/quicklisp/dists/quicklisp/software/ lisp-systems/
+docker rm "$SYSTEM_NAME"
+docker rmi "$SYSTEM_NAME"