Skip to content

Commit

Permalink
refactor: Use source list reference instead of dependency module
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Sep 3, 2023
1 parent b042676 commit 2009a0d
Show file tree
Hide file tree
Showing 2 changed files with 614 additions and 620 deletions.
7 changes: 3 additions & 4 deletions com.pojtinger.felicitas.Multiplex.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@
"--talk-name=org.freedesktop.Flatpak"
],
"modules": [
"dependencies.json",
{
"name": "gui",
"name": "multiplex",
"buildsystem": "simple",
"build-commands": [
"mv /app/vendor vendor && cp modules.txt vendor/modules.txt",
"mkdir -p vendor && cp modules.txt vendor/modules.txt",
". /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go generate ./... && go install -v -mod=vendor .",
"desktop-file-install --dir=/app/share/applications $FLATPAK_ID.desktop",
"install -D -m 0644 $FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
"for icon in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512; do install -D -m 0644 docs/icon-${icon}.png /app/share/icons/hicolor/${icon}/apps/$FLATPAK_ID.png; done"
],
"sources": [{ "type": "dir", "path": "." }]
"sources": [{ "type": "dir", "path": "." }, "dependencies.json"]
}
]
}
Loading

0 comments on commit 2009a0d

Please sign in to comment.