mirror of
https://gitea.com/gitea/tea
synced 2024-11-23 00:12:05 +01:00
77837e909e
Fixes #564 (/gitea/tea/issues/564) by applying minor changes to the Makefile. - Defines a `BINEXT` variable which holds a file name extension (.exe for Windows, empty otherwise) - Replaces uses of `$(EXECUTABLE)` with `tea$(EXECUTABLE)` - appends `$(BINEXT)` to the custom vet tool flag Besides that I made two minor changes - Add `[.exe]` to the ignore rule for gitea-vet, so it also ignores the binary when built on Windows hosts - Removed `$(DIST)/binaries` from release-dirs as this is not being called anywhere else I've tested almost all `make` tasks to work on Windows. The only one I haven't run is the docker build. WIP tag is because I still have to test it on Linux, will do so in a bit. I also asked for some discussion on the original issue, which I'd like to do before blindly asking to merge in changes Reviewed-on: https://gitea.com/gitea/tea/pulls/566 Co-authored-by: Martin Veldwijk <riven@tae.moe> Co-committed-by: Martin Veldwijk <riven@tae.moe>
14 lines
84 B
Plaintext
14 lines
84 B
Plaintext
tea
|
|
/gitea-vet[.exe]
|
|
|
|
.idea/
|
|
.history/
|
|
dist/
|
|
|
|
.vscode/
|
|
vendor/
|
|
|
|
coverage.out
|
|
|
|
dist/
|