mirror of https://github.com/Airr/nim-cocoa.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
460 B
22 lines
460 B
import ospaths
|
|
|
|
# Package
|
|
|
|
version = "0.1.1"
|
|
author = "Armando Rivera"
|
|
description = "macOS Cocoa GUI package"
|
|
license = "MIT"
|
|
bin = @["bundle"]
|
|
skipDirs = @["cocoa"]
|
|
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_lib.nim" |