diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-08-06 15:26:14 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-08-06 15:26:14 +0200 |
commit | 3e937cadee223247dc91d86a73803f33472bf15d (patch) | |
tree | 12cbf8c87feed2ca88b47314394b8358f3340398 | |
parent | 929c1b90d6b16706f9c63339f5f2a2b42332f3f3 (diff) |
-rw-r--r-- | Justfile | 6 | ||||
-rw-r--r-- | Readme.md | 4 | ||||
-rwxr-xr-x | bin/build | 4 | ||||
-rwxr-xr-x | bin/get-printings | 3 |
4 files changed, 8 insertions, 9 deletions
diff --git a/Justfile b/Justfile deleted file mode 100644 index f4a6b68..0000000 --- a/Justfile +++ /dev/null @@ -1,6 +0,0 @@ -build: - docker build --no-cache -t mtg-print print - docker build --no-cache -t mtg-print-web web - -get_printings: - curl -L https://mtgjson.com/api/v5/AllPrintings.sqlite -o print/AllPrintings.sqlite @@ -7,7 +7,5 @@ docker compose up -d ## Update printings database ``` -just get_printings -# or -curl -L https://mtgjson.com/api/v5/AllPrintings.sqlite -o print/AllPrintings.sqlite +./bin/get-printings ``` diff --git a/bin/build b/bin/build new file mode 100755 index 0000000..a811bfb --- /dev/null +++ b/bin/build @@ -0,0 +1,4 @@ +#!/bin/sh + +docker build --no-cache -t mtg-print print +docker build --no-cache -t mtg-print-web web diff --git a/bin/get-printings b/bin/get-printings new file mode 100755 index 0000000..4f11b27 --- /dev/null +++ b/bin/get-printings @@ -0,0 +1,3 @@ +#!/bin/sh + +curl -L https://mtgjson.com/api/v5/AllPrintings.sqlite -o print/AllPrintings.sqlite |