Browse Source

🌋

undefined
Roderic Day 1 year ago
parent
commit
8b0a8dbf34
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      VERSION
  2. +6
    -6
      makefile

+ 1
- 1
VERSION View File

🪨
🌋

+ 6
- 6
makefile View File

DATA := $(BASE).dat DATA := $(BASE).dat
TEST := $(BASE).dtt 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} main: ${TEST}
echo 'test': echo 'test':
echo 'real:' echo 'real:'
cat ${DATA} | docker compose run --rm advent python -u ${CODE} 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}: ${DATA} ${TEST}:
# avoid spam in the lead up to the event # avoid spam in the lead up to the event
test ${DAY} -le `date +%d` || test ${YEAR} -lt `date +%Y` test ${DAY} -le `date +%d` || test ${YEAR} -lt `date +%Y`

Loading…
Cancel
Save