Skip to content

Commit

Permalink
Use git hash as ROM version string by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rhargreaves committed Jul 15, 2024
1 parent 95bda52 commit 3accb7f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
}
},
"postCreateCommand": {
"editorconfig": "apt -y install npm nodejs && npm install -g editorconfig"
"editorconfig": "apt -y install npm nodejs && npm install -g editorconfig",
"git": "apt -y install git && git config --global --add safe.directory /workspaces/mega-drive-midi-interface"
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
bin/
*.bin
*.o
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ USER root
RUN apt-get -y update && \
apt-get -y install \
build-essential \
git \
cmake \
gdb \
gdbserver \
valgrind \
wget \
unzip
unzip && \
git config --global --add safe.directory "*"
WORKDIR /app
COPY tests/cmocka-*.tar.xz /app/tests/
COPY tests/Makefile /app/tests/Makefile
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SGDK=/sgdk
MAKE=make
BUILD?=$(shell git rev-parse --short HEAD)

all: release out/rom.s test

Expand Down

0 comments on commit 3accb7f

Please sign in to comment.