Build with Magefile #104341

Merged
Sybren A. Stüvel merged 26 commits from magefile into main 2024-10-04 21:59:46 +02:00

26 Commits

Author SHA1 Message Date
9c5b32280c Mage: port webapp devserver runner + some reshuffling 2024-10-03 21:14:32 +02:00
89eae263eb Add /mage to .gitignore 2024-10-03 21:14:27 +02:00
731a484d9e Mage: migrate installation of code generators 2024-10-03 20:29:32 +02:00
350c4f3686 Mage: run "yarn install" when necessary during "mage build" target 2024-10-03 19:11:40 +02:00
4ddc9d8148 Mage: add 'webappInstallDeps' target
Add a target that uses Yarn to install the NodeJS dependencies.
2024-10-02 11:41:19 +02:00
1bea8b40f7 Move more targets to Mage 2024-10-01 23:20:00 +02:00
1dbd639010 Convert make clean to Mage 2024-10-01 23:16:37 +02:00
c4d4099578 Merge remote-tracking branch 'origin/main' into magefile 2024-10-01 23:14:00 +02:00
6e290a74d9 Document all magefile targets 2024-10-01 23:04:38 +02:00
72109d503c Makefile: port 'make test' to Mage 2024-10-01 22:49:37 +02:00
fe545dd216 Makefile: remove add-on packer targets 2024-10-01 22:39:46 +02:00
c376604c8e Remove magefiles/tools/tools.go
With the invocations via Mage, these aren't necessary.

This also removes the as-of-yet unused go-winres dependency.
2024-10-01 22:39:34 +02:00
f25d4e28a9 Make code generation work + hookup to Makefile 2024-10-01 22:31:39 +02:00
a5957c4952 make update-version: also update Mage version.go 2024-10-01 21:32:09 +02:00
e829ec1353 'make update-version': don't update website
Do not update the website via `make update-website`. Which version of
Flamenco is published on the website is managed manually, independently of
the version in the Git repo.
2024-10-01 21:10:49 +02:00
3b18ea96fb Mage: use govulncheck and staticcheck as libraries
Instead of running govulncheck and staticcheck as different processes,
use them as Go library and call them directly.

This does require my staticcheck PR [#1597][1597], which has landed in
their `main` branch and should be part of the next release.

[1597]: https://github.com/dominikh/go-tools/pull/1597
2024-10-01 09:29:43 +02:00
77e8c42cd6 Merge remote-tracking branch 'origin/main' into magefile 2024-10-01 09:08:23 +02:00
021f244c2c Revert "Sync branch magefile with main (#104308)"
This reverts commit b69640912d. That
should have been a branch merge, not a regular commit.
2024-10-01 09:05:45 +02:00
b69640912d Sync branch magefile with main (#104308)
Merge `origin/main` into `magefile`

Reviewed-on: #104308
Reviewed-by: Sybren A. Stüvel <sybren@blender.org>
2024-05-13 16:26:30 +02:00
ad69d32f4e Update govulncheck 2024-02-27 16:58:30 +01:00
b1fe7bcf1d Merge remote-tracking branch 'origin/main' into magefile 2024-02-27 16:56:07 +01:00
9d86fcfec0 Midway converting generate-py and generate-js 2023-04-02 18:03:27 +02:00
d9aae2d717 Merge remote-tracking branch 'origin/main' into magefile
# Conflicts:
#	go.mod
#	go.sum
2023-03-31 11:17:39 +02:00
049565a7ce Start of porting code generator to Mage
Generating Go code works, JS/Py not yet implemented.
2023-03-04 01:29:26 +01:00
20a10866d8 Use mg.GoCmd() instead of "go" 2023-03-04 01:28:55 +01:00
f7825f3c25 WIP: build using Magefile
Work in progress to replace the `Makefile` buildchain with
[Magefile](https://magefile.org/).
2023-03-04 00:32:29 +01:00