mirror of https://github.com/go-gitea/gitea.git
Fix documents for Windows development (#18109)
* Fix documents for Windows developmentpull/18116/head
parent
a2afd38f25
commit
38d81cdd01
|
@ -67,10 +67,12 @@ sudo yum install make
|
||||||
One of these three distributions of Make will run on Windows:
|
One of these three distributions of Make will run on Windows:
|
||||||
|
|
||||||
- [Single binary build](http://www.equation.com/servlet/equation.cmd?fa=make). Copy somewhere and add to `PATH`.
|
- [Single binary build](http://www.equation.com/servlet/equation.cmd?fa=make). Copy somewhere and add to `PATH`.
|
||||||
- [32-bits version](ftp://ftp.equation.com/make/32/make.exe)
|
- [32-bits version](http://www.equation.com/ftpdir/make/32/make.exe)
|
||||||
- [64-bits version](ftp://ftp.equation.com/make/64/make.exe)
|
- [64-bits version](http://www.equation.com/ftpdir/make/64/make.exe)
|
||||||
- [MinGW](http://www.mingw.org/) includes a build.
|
- [MinGW-w64](https://www.mingw-w64.org) / [MSYS2](https://www.msys2.org/).
|
||||||
- The binary is called `mingw32-make.exe` instead of `make.exe`. Add the `bin` folder to `PATH`.
|
- MSYS2 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software, it includes MinGW-w64.
|
||||||
|
- In MingGW-w64, the binary is called `mingw32-make.exe` instead of `make.exe`. Add the `bin` folder to `PATH`.
|
||||||
|
- In MSYS2, you can use `make` directly. See [MSYS2 Porting](https://www.msys2.org/wiki/Porting/).
|
||||||
- [Chocolatey package](https://chocolatey.org/packages/make). Run `choco install make`
|
- [Chocolatey package](https://chocolatey.org/packages/make). Run `choco install make`
|
||||||
|
|
||||||
**Note**: If you are attempting to build using make with Windows Command Prompt, you may run into issues. The above prompts (Git bash, or MinGW) are recommended, however if you only have command prompt (or potentially PowerShell) you can set environment variables using the [set](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1) command, e.g. `set TAGS=bindata`.
|
**Note**: If you are attempting to build using make with Windows Command Prompt, you may run into issues. The above prompts (Git bash, or MinGW) are recommended, however if you only have command prompt (or potentially PowerShell) you can set environment variables using the [set](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1) command, e.g. `set TAGS=bindata`.
|
||||||
|
|
Loading…
Reference in New Issue