Rebuild package

This commit is contained in:
2026-02-27 19:14:07 +02:00
parent 45932eb982
commit fb94a3798a
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -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:
+5
View File
@@ -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
}