From 3e937cadee223247dc91d86a73803f33472bf15d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 6 Aug 2025 15:26:14 +0200 Subject: remove Justfile in favor of bin scripts --- Justfile | 6 ------ Readme.md | 4 +--- bin/build | 4 ++++ bin/get-printings | 3 +++ 4 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 Justfile create mode 100755 bin/build create mode 100755 bin/get-printings 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 diff --git a/Readme.md b/Readme.md index dd726f3..97b9311 100644 --- a/Readme.md +++ b/Readme.md @@ -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 -- cgit v1.2.3