Updates readme
This commit is contained in:
parent
715268a8e8
commit
10bf83a21b
|
@ -29,11 +29,17 @@ Minor build variations can be found for each system. Using upx (`apt install upx
|
|||
|
||||
### OSX / Linux
|
||||
|
||||
If not using upx just do everything before the `&&`.
|
||||
You should be able to just run `sudo make install`. If you just want to build locally you can run: `make && make compress`
|
||||
|
||||
Alternatively, you can just run a few things yourself and avoid make altogether:
|
||||
|
||||
`go build -ldflags "-s -w" -o gnums && upx gnums`
|
||||
|
||||
You would then need to move the executable to where you want it.
|
||||
|
||||
### Windows
|
||||
|
||||
Windows functionality and build steps are unconfirmed. As is the Makefile for windows usage. The following _should_ work. The makefile instructions provided for OSX/Linux _might_ work.
|
||||
|
||||
`go build -ldflags "-s -w -H=windowsgui -extldflags=-static" -o gnums.exe`
|
||||
|
||||
|
|
Loading…
Reference in New Issue