mirror of
https://github.com/Airr/nim-cocoa.git
synced 2024-11-24 09:45:30 +00:00
Added task to create libcocoa.a static lib
This commit is contained in:
parent
e1f3e77302
commit
6c13940c87
@ -1,3 +1,5 @@
|
||||
import ospaths
|
||||
|
||||
# Package
|
||||
|
||||
version = "0.1.1"
|
||||
@ -12,3 +14,9 @@ installFiles = @["cocoa.nim"]
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 1.4.8, plists"
|
||||
|
||||
before install:
|
||||
|
||||
const libDir = getHomeDir() & "/.nimble/lib"
|
||||
mkDir(libdir)
|
||||
exec " nim c --app:staticlib -d:release -o:" & libdir & "/libcocoa.a cocoa.nim"
|
Loading…
Reference in New Issue
Block a user