Rebuild package
This commit is contained in:
@@ -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