From 60b0b22fcf74ce8580dba74a9b25b51ea316647b Mon Sep 17 00:00:00 2001 From: wiiznokes <78230769+wiiznokes@users.noreply.github.com> Date: Oct 04 2025 11:45:57 +0000 Subject: load .env --- diff --git a/.env b/.env new file mode 100644 index 0000000..024411f --- /dev/null +++ b/.env @@ -0,0 +1 @@ +NAME=cosmic-files \ No newline at end of file diff --git a/justfile b/justfile index b20d897..0d541ee 100644 --- a/justfile +++ b/justfile @@ -1,4 +1,4 @@ -set export := true +set dotenv-load NAME := env('NAME') TAG := 'nightly' @@ -7,6 +7,10 @@ all *FLAGS: clean (init FLAGS) sources spec build all-srpm *FLAGS: clean (init FLAGS) sources spec build-srpm +# init will remove your repository XD, so let's add a safe guard +default: + echo "default command does nothing" + # Requires python3 init *FLAGS: python3 ../scripts/cosmic-packaging-bootstrap.py {{ NAME }} ../rpms/{{ NAME }} --cwd . --tag {{ TAG }} {{ FLAGS }}