Roderic Day vor 1 Jahr
Ursprung
Commit
8b0a8dbf34
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. +1
    -1
      VERSION
  2. +6
    -6
      makefile

+ 1
- 1
VERSION Datei anzeigen

@@ -1 +1 @@
🪨
🌋

+ 6
- 6
makefile Datei anzeigen

@@ -14,12 +14,6 @@ CODE := $(BASE).py
DATA := $(BASE).dat
TEST := $(BASE).dtt

save:
git add .
test `git log -1 --format=%s` == `cat VERSION` \
&& git commit --amend --reuse-message=head \
|| git commit -m `cat VERSION`
git log -1

main: ${TEST}
echo 'test':
@@ -29,6 +23,12 @@ clean: ${DATA}
echo 'real:'
cat ${DATA} | docker compose run --rm advent python -u ${CODE}

save:
git add .
test `git log -1 --format=%s` == `cat VERSION` \
&& git commit --amend --reuse-message=head \
|| git commit -m `cat VERSION`

${DATA} ${TEST}:
# avoid spam in the lead up to the event
test ${DAY} -le `date +%d` || test ${YEAR} -lt `date +%Y`

Laden…
Abbrechen
Speichern