Updated Creating a release (markdown)
This commit is contained in:
parent
ead898b0e1
commit
4694b21adf
|
@ -69,6 +69,26 @@ move /y build\nim_%NIMVER%.exe web\upload\download\nim-%NIMVER%_x64.exe || exit
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Shell script, simple:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
#!/bin/sh
|
||||||
|
set -eu
|
||||||
|
tmp_dir=$(mktemp -d)
|
||||||
|
cd $tmp_dir
|
||||||
|
git clone -q --depth 1 https://github.com/nim-lang/Nim.git
|
||||||
|
cd Nim
|
||||||
|
git clone -q --depth 1 https://github.com/nim-lang/csources
|
||||||
|
( cd csources && sh build.sh )
|
||||||
|
bin/nim c koch
|
||||||
|
./koch boot -d:release
|
||||||
|
./koch web0
|
||||||
|
PATH=$PATH:$(pwd)/bin
|
||||||
|
./koch csource -d:release
|
||||||
|
./koch xz -d:release
|
||||||
|
./koch nsis
|
||||||
|
```
|
||||||
|
|
||||||
Shell script, work in progress:
|
Shell script, work in progress:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue