Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Commit 4e134c6

Browse files
committed
Add a bit of info to the readme.
1 parent 055f0f2 commit 4e134c6

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,41 @@
11
# wails-test
2+
23
A test of packaging a Wails app for Linux.
34

5+
## Makefile
6+
7+
Check out the Makefile for annotated examples of how to build various targets, including...
8+
9+
### tgz
10+
11+
`make tgz`
12+
13+
It's a very simple target for creating a *.tgz file.
14+
15+
### flatpak
16+
17+
`make flatpak`
18+
19+
The `flatpak`, `flatpak-run` and `flatpak-install` targets show various ways to just test that a Flatpak can be built, build then run it, or build then install for the current user respectively.
20+
21+
Because `flatpak-builder` does not allow build tools to download anything from the internet, it's pretty difficult to fully build a Wails project from source. This is discussed in Always Developing session #57:
22+
23+
https://youtu.be/N6lvl4ePCYI
24+
25+
The Flatpak manifest is at [flatpak/com.ianmjones.wails-test.yml](flatpak/com.ianmjones.wails-test.yml).
26+
27+
### snap
28+
29+
`make snap`
30+
31+
The `snap`, `snap-debug` and `snap-prime-shell` targets show various ways to just build a snap, build and drop into a shell if there are problems, or drop into a shell just before it finishes so you can look at the files respectively.
32+
33+
To see how the snapcraft.yaml was iteratively built, check out Always Developing session #59:
34+
35+
https://youtu.be/prwJ0MfjnHQ
36+
37+
The snapcraft template is at [snap/snapcraft.yaml](snap/snapcraft.yaml).
38+
39+
---
40+
441
Originally built for https://github.com/wailsapp/wails/discussions/779

0 commit comments

Comments
 (0)