mirror of
https://github.com/Airr/nim-cocoa.git
synced 2024-11-24 09:45:30 +00:00
Changed to use cocoa_lib.nim to create libcocoa.a library file
This commit is contained in:
parent
b2eac872ba
commit
623d150afa
@ -7,7 +7,7 @@ author = "Armando Rivera"
|
||||
description = "macOS Cocoa GUI package"
|
||||
license = "MIT"
|
||||
bin = @["bundle"]
|
||||
installDirs = @["cocoa"]
|
||||
skipDirs = @["cocoa"]
|
||||
installFiles = @["cocoa.nim"]
|
||||
|
||||
|
||||
@ -19,4 +19,4 @@ before install:
|
||||
|
||||
const libDir = getHomeDir() & "/.nimble/lib"
|
||||
mkDir(libdir)
|
||||
exec " nim c --app:staticlib -d:release -o:" & libdir & "/libcocoa.a cocoa.nim"
|
||||
exec " nim c --app:staticlib -d:release -o:" & libdir & "/libcocoa.a cocoa_lib.nim"
|
Loading…
Reference in New Issue
Block a user