Skip to content

Commit a80d2de

Browse files
committed
v1.0.0
1 parent d0a9481 commit a80d2de

7 files changed

Lines changed: 64 additions & 99 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,16 @@ Once the app is running, you can also inspect its internal state with a REPL, us
4343
npx shadow-cljs cljs-repl app
4444
```
4545

46+
## Release
47+
48+
For who mantains the app.
49+
50+
- Create a dist folder using
51+
52+
```sh
53+
./build-aux/make-dist.sh
54+
```
55+
56+
- Upload the dist archive as a github release.
57+
- Wait for the flathub build bot to create an update.
58+

build-aux/make-dist.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
3+
# Builds and copies all the needed flatpak files in the build folder
4+
npx shadow-cljs compile app
5+
cp -r data build/
6+
tar -czf com.ranfdev.Lobjur.tar.xz build/

com.ranfdev.Lobjur.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,24 @@
99
"--socket=fallback-x11",
1010
"--socket=wayland",
1111
"--device=dri",
12-
"--share=network",
12+
"--share=network"
1313
],
1414
"modules" : [
1515
{
1616
"name" : "Lobjur",
17-
"buildsystem" : "custom",
17+
"buildsystem" : "simple",
18+
"build-commands": [
19+
"install -D app.js /app/bin/lobjur",
20+
"cp -r jslibs /app/bin/jslibs",
21+
"mkdir -p /app/share/",
22+
"cp -r data/icons /app/share/icons/",
23+
"install -D data/com.ranfdev.Lobjur.desktop /app/share/applications/com.ranfdev.Lobjur.desktop",
24+
"install -D data/com.ranfdev.Lobjur.metainfo.xml /app/share/metainfo/com.ranfdev.Lobjur.metainfo.xml"
25+
],
1826
"sources" : [
1927
{
20-
"type" : "git",
21-
"url" : "../",
22-
"branch": "master"
28+
"type" : "dir",
29+
"path" : "./build"
2330
}
2431
]
2532
}

data/com.ranfdev.Lobjur.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Terminal=false
77
Categories=GNOME;GTK;Network;
88
Keywords=Gnome;GTK;browser;lobsters;social;forum;
99
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
10-
Icon=data/icons/hicolor/scalable/apps/com.ranfdev.Lobjur.svg
10+
Icon=com.ranfdev.Lobjur
1111
StartupNotify=true

data/com.ranfdev.Lobjur.svg renamed to data/icons/hicolor/scalable/apps/com.ranfdev.Lobjur.svg

Lines changed: 20 additions & 80 deletions
Loading

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shadow-cljs.edn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
{:app {:target shadow-cljs-gjs-target.core
55
:output-dir "./build/jslibs"
66
:output-to "./build/app.js"
7-
:compiler-options {:infer-externs :auto}
87
:main lobjur.main/main}}}

0 commit comments

Comments
 (0)