Rebuild package
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
name: nim
|
||||
description: Statically typed compiled systems programming language
|
||||
version: 2.2.6
|
||||
revision: 1
|
||||
revision: 2
|
||||
url: https://nim-lang.org/
|
||||
license: MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
|
||||
@@ -17,20 +17,25 @@ prepare() {
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
# Compile nim
|
||||
echo "Building nim..."
|
||||
sh build.sh
|
||||
|
||||
# Compile koch
|
||||
echo "Building koch..."
|
||||
./bin/nim c -d:release koch
|
||||
./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline
|
||||
|
||||
# Compile libraries
|
||||
echo "Building libraries..."
|
||||
( cd lib; ../bin/nim c --app:lib -d:createNimRtl -d:release nimrtl.nim )
|
||||
|
||||
# Compile tools
|
||||
echo "Building tools..."
|
||||
./koch tools
|
||||
( cd tools; ../bin/nim c -d:release nimgrep.nim )
|
||||
|
||||
# Compile nimsuggest
|
||||
echo "Building nimsuggest..."
|
||||
./bin/nim c -d:release nimsuggest/nimsuggest.nim
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user