ソースを参照

🌋

undefined
Roderic Day 1年前
コミット
8b0a8dbf34
2個のファイルの変更7行の追加7行の削除
  1. +1
    -1
      VERSION
  2. +6
    -6
      makefile

+ 1
- 1
VERSION ファイルの表示

@@ -1 +1 @@
🪨
🌋

+ 6
- 6
makefile ファイルの表示

@@ -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`

読み込み中…
キャンセル
保存