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.
 
 
nim-cocoa/cocoa.nimble

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"