Flatpak: Generate vendor/modules.txt

This commit is contained in:
Unrud 2022-06-20 01:19:00 +02:00
parent 523d2039b6
commit 6134fa564b
2 changed files with 5 additions and 18 deletions

View file

@ -12,7 +12,11 @@ finish-args:
modules:
- name: remote-touchpad
sources:
# Vendor dependencies: go mod vendor -v
- type: git
path: ..
- type: shell
commands:
- . /usr/lib/sdk/golang/enable.sh; go mod vendor -e
- type: git
url: https://github.com/godbus/dbus
tag: v5.0.6
@ -26,12 +30,6 @@ modules:
url: https://github.com/golang/net
commit: cd36cc0744dd695657988f15f08446dc81e16efc
dest: vendor/golang.org/x/net
- type: file
path: modules.txt
dest: vendor
- type: git
path: ..
branch: master
buildsystem: simple
build-commands:
- . /usr/lib/sdk/golang/enable.sh; go build -tags portal,x11

View file

@ -1,11 +0,0 @@
# github.com/godbus/dbus/v5 v5.0.6
## explicit
github.com/godbus/dbus/v5
# github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
## explicit
github.com/skip2/go-qrcode
github.com/skip2/go-qrcode/bitset
github.com/skip2/go-qrcode/reedsolomon
# golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
## explicit
golang.org/x/net/websocket