5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 02:20:47 +08:00
Commit Graph

55 Commits

Author SHA1 Message Date
Lea Anthony
5a3d45b535
Override platform with GOOS and GOARCH (#1618)
* Override platform with GOOS and GOARCH

* Update v2/cmd/wails/internal/commands/build/build.go

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* Only use GOOS and GOARCH env vars for default target

* Update docs. Add dryrun flag for testing

* Update v2/cmd/wails/internal/commands/build/build.go

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* Fix scenario where no arch specified

* Fixed banner

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-07-21 21:25:57 +10:00
Lea Anthony
f46e825d24
Add pre-build hooks. Print command output when verbosity flag set. (#1578)
* Add pre-build hooks. Print command output when verbosity flag set.

* Refactor build hooks
2022-07-17 22:08:55 +10:00
Lea Anthony
4726b72708
feature: Add -windowsconsole flag 2022-07-04 22:52:50 +10:00
Zámbó, Levente
f6425a64a6
feature - add race detector to build & dev (#1426) 2022-05-27 19:07:39 -10:00
Lea Anthony
41f9c07c88 Fixes #1343 2022-04-27 21:29:54 +10:00
Lea Anthony
e7aa74905a
Initial commit (#1352) 2022-04-27 19:10:20 +10:00
Lea Anthony
3fbe4f71c4 Ensure there's a default wailsJS dir 2022-04-12 20:13:05 +10:00
Lea Anthony
1da68cfc7c Remove unused directories + tidy up 2022-03-29 21:47:26 +11:00
stffabi
b02dbfaddf
[v2] NSIS installer support for Windows (#1184)
* [v2] Add support for post build hooks

Currently only supports build-level hooks

* [v2] Improve build assets handling and use single source for manifest generation

The manifest asset files are now a go template and data will be
resolved before they are included into the build output.

Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.

* [v2, windows] NSIS installer generation
2022-03-02 19:44:31 +11:00
Lea Anthony
771594519f
[mac] Better support for multi-builds 2022-02-10 21:41:40 +11:00
Lea Anthony
ec44ca58f1 Better output for build 2022-02-10 21:25:43 +11:00
Lea Anthony
c2fa4b6103 Support multiple targets for windows 2022-02-10 19:55:04 +11:00
Lea\Anthony
3c6ed12637 New build flag: -debug 2021-12-29 06:54:52 +11:00
Dario Emerson
44035637f7 Add flag to skip mod tidy 2021-12-12 15:01:16 +01:00
Lea Anthony
d569e37b81
[mac] Fix open panel in dev 2021-11-23 21:04:01 +11:00
Lea Anthony
333949ee53
[mac] better output text on build 2021-11-02 22:20:44 +11:00
Lea Anthony
6a7118ff6d
[mac] Support cross compiling to windows 2021-10-30 10:44:22 +11:00
Lea Anthony
fd5348d26d
[v2] Fix build output 2021-10-30 10:33:30 +11:00
Lea Anthony
3723c41d15
[mac] Fix binary path in build. Remove apple identity 2021-10-09 17:39:51 +11:00
Lea Anthony
414b0149f2 [v2] Add forcebuild flag. Tags flag to dev. Refactor dev. 2021-09-09 19:44:06 +10:00
Lea Anthony
20f82cbde4 [v2] Default project path to cwd 2021-09-03 18:55:44 +10:00
Lea Anthony
8db91df185 [windows] Fix compiled binary path 2021-09-01 06:42:30 +10:00
Lea Anthony
f20ce7411d [windows-x] Add wailsjs directory flag 2021-08-26 23:25:29 +10:00
Lea Anthony
c3c88f5e27 [windows-x] Huge updates to devmode, runtime, build command. 2021-08-22 23:05:22 +10:00
Lea Anthony
b7cd36921e [windows-x] Experimental -> Default 2021-08-15 21:07:34 +10:00
Lea Anthony
1d6cce7c52 [windows-x] Simplify build assets 2021-08-14 19:35:00 +10:00
Lea Anthony
c2ac4961ef [windows-x] Don't process assets when building 2021-08-14 19:24:29 +10:00
Lea Anthony
6dbcd4fc45
[v2] New Svelte template. Updates to vanilla. Improved wails generate template 2021-06-30 20:50:39 +10:00
Lea Anthony
e90f5361be [windows] Support webview2 runtime installation strategies 2021-06-15 21:25:08 +10:00
Lea Anthony
79147c612e [v2] Big tidy up! 2021-06-12 06:49:38 +10:00
Lea Anthony
93d9b61366 [windows] Fix bridge payload for 'wails dev' 2021-05-30 20:03:01 +10:00
Lea Anthony
08f4476087 Support for upx and more go:embed. 2021-05-18 21:25:16 +10:00
Lea Anthony
8be2a39daf [windows] Generate syso file for windows builds 2021-05-17 19:51:43 +10:00
Lea Anthony
e9deb248f9 Move assets -> build dir. Bundle assets in CLI binary. 2021-05-13 20:12:19 +10:00
Lea Anthony
5d444cd6dd
Support user tags 2021-04-04 13:42:48 +10:00
Lea Anthony
86c1ea5e6a
Initial support for compression 2021-03-27 20:59:14 +11:00
Lea Anthony
86b4a4f2f5
Don't clean directory when doing universal builds 2021-03-26 18:29:28 +11:00
Lea Anthony
fd96ebc050
Better verbose output 2021-03-26 18:12:42 +11:00
Lea Anthony
50c219307f
Add clean flag 2021-03-26 14:10:25 +11:00
Lea Anthony
6eb4b0a419 Fix packaging universal builds 2021-03-25 21:12:29 +11:00
Lea Anthony
41d2158375 Support building arm64 & universal binaries. 2021-03-25 21:12:29 +11:00
Lea Anthony
92ebf506dd Get app compiling 2021-03-20 18:32:09 +11:00
Lea Anthony
f48d7f8f60
Add support for -sign 2021-02-27 20:32:29 +11:00
Lea Anthony
e4b03f510b
First step to bridge support 2021-02-06 21:50:21 +11:00
Lea Anthony
064ff3b65e
Change build wording 2021-01-26 06:38:54 +11:00
Lea Anthony
d2020fedda
Move generated assets to build dir. Precompile platform runtime. 2021-01-05 13:01:03 +11:00
Lea Anthony
f384fc7562
Add -k flag for debug purposes 2021-01-03 05:02:48 +11:00
Lea Anthony
9e6ae4d762
Support building Mac package 2020-11-21 07:09:25 +11:00
Lea Anthony
716888dcb2
Disable module generation 2020-11-17 21:46:20 +11:00
Lea Anthony
62374b9b53
Js package generation (#554)
* WIP

* Generation of index.js

* Add RelativeToCwd

* Add JSDoc comments

* Convert to ES6 syntax

* Fix typo

* Initial generation of typescript declarations

* Typescript improvements

* Improved @returns jsdoc

* Improved declaration files

* Simplified output

* Rename file

* Tidy up

* Revert "Simplified output"

This reverts commit 15cdf7382b.

* Now parsing actual code

* Support Array types

* Reimagined parser

* Wrap parsing in Parser

* Rewritten module generator (TS Only)

* Final touches

* Slight refactor to improve output

* Struct comments. External struct literal binding

* Reworked project parser *working*

* remove debug info

* Refactor of parser

* remove the spew

* Better Ts support

* Better project generation logic

* Support local functions in bind()

* JS Object generation. Linting.

* Support json tags in module generation

* Updated mod files

* Support vscode file generation

* Better global.d.ts

* add ts-check to templates

* Support TS declaration files

* improved 'generate' command for module
2020-11-15 09:25:38 +11:00