Skip to content

Commit 675bd35

Browse files
committed
build: Copy modules.txt to vendor/modules.txt using build commands instead of file modules
1 parent 09b08c4 commit 675bd35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.pojtinger.felicitas.Multiplex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
"name": "app",
2121
"buildsystem": "simple",
2222
"build-commands": [
23+
"mkdir -p vendor && cp modules.txt vendor/modules.txt",
2324
". /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go generate ./... && go install -v -mod=vendor .",
2425
"desktop-file-install --dir=/app/share/applications $FLATPAK_ID.desktop",
2526
"install -D -m 0644 $FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
2627
"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"
2728
],
2829
"sources": [
2930
{ "type": "dir", "path": "." },
30-
{ "type": "file", "path": "modules.txt", "dest": "vendor" },
3131
{
3232
"type": "archive",
3333
"url": "https://proxy.golang.org/github.com/anacrolix/torrent/@v/v1.52.5.zip",

0 commit comments

Comments
 (0)