commit 5ee993e1b5a2e6bc343d30d88b47022361d00b68
parent 0666d4fb772b2e4d1fee48fa786a74db605e735e
Author: mtmn <miro@haravara.org>
Date: Fri, 17 Apr 2026 23:13:19 +0200
chore: add dev just recipe, cleanup users.dhall
Diffstat:
3 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/justfile b/justfile
@@ -11,6 +11,8 @@ build:
dhall-to-json --file users.dhall > users.json
npm run build
+dev: build run
+
# Run the project locally
run:
npx spago run
diff --git a/users.dhall b/users.dhall
@@ -27,20 +27,5 @@ in { users =
with databaseFile = "corpus-mtmn.db"
with backupEnabled = True
}
- , { slug = "lastfm"
- , config =
- defaults
- with lastfmUser = Some "mtmnn"
- with databaseFile = "corpus-lastfm-mtmnn.db"
- with backupEnabled = True
- }
- , { slug = "other_listenbrainz"
- , config =
- defaults
- with lastfmUser = Some "otheruser"
- with databaseFile = "corpus-lb-otheruser.db"
- with backupEnabled = False
- with initialSync = True
- }
]
}
diff --git a/users.json b/users.json
@@ -1,5 +1,4 @@
{
- "port": 8000,
"users": [
{
"config": {
@@ -11,28 +10,6 @@
"listenbrainzUser": "mtmn"
},
"slug": ""
- },
- {
- "config": {
- "backupEnabled": true,
- "backupIntervalHours": 1,
- "coverCacheEnabled": true,
- "databaseFile": "corpus-lastfm-mtmnn.db",
- "initialSync": false,
- "lastfmUser": "mtmnn"
- },
- "slug": "lastfm"
- },
- {
- "config": {
- "backupEnabled": false,
- "backupIntervalHours": 1,
- "coverCacheEnabled": true,
- "databaseFile": "corpus-lb-otheruser.db",
- "initialSync": true,
- "lastfmUser": "otheruser"
- },
- "slug": "other_listenbrainz"
}
]
}