From 4dd7faf0665e196b6f1527cfd0e8cd8d3b8ec2e6 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 10 Aug 2022 06:05:07 +0000 Subject: [PATCH] add example shell file to compile cse141L programs, add xxd to development container --- .devcontainer/Dockerfile | 2 +- example.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 example.sh diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9992aaa..e5a8a54 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,6 @@ FROM python:slim WORKDIR / RUN apt-get -y update; apt-get -y upgrade -RUN apt-get -y install git binutils +RUN apt-get -y install git binutils xxd COPY requirements.txt . RUN pip install -r requirements.txt \ No newline at end of file diff --git a/example.sh b/example.sh new file mode 100644 index 0000000..ee53b72 --- /dev/null +++ b/example.sh @@ -0,0 +1,2 @@ +#!/bin/sh +python assembler.py cse141L.bin program1.asm program2.asm program3.asm \ No newline at end of file