public
Description: SmartyPants ported to Nu.
Homepage:
Clone URL: git://github.com/Grayson/nusmartypants.git
nusmartypants / Nukefile
100644 29 lines (19 sloc) 0.732 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
;; source files
(set @m_files (array "./smartypants.m"))
(set @nu_files (array "./smartypants.nu"))
 
;; framework description
(set @framework "SmartyPants")
(set @framework_identifier "nu.programming.smartypants")
(set @framework_creator_code "????")
(set @framework_initializer "SmartyPantsInit")
 
 
(set @frameworks '("Cocoa" "Nu"))
(set @includes "")
 
(compilation-tasks)
(framework-tasks)
 
(task "clobber" => "clean" is
      (SH "rm -rf #{@framework_dir}"))
 
 
(task "install" => "framework" is
      (SH "sudo rm -rf /Library/Frameworks/#{@framework}.framework")
      (SH "ditto #{@framework}.framework /Library/Frameworks/#{@framework}.framework"))
 
(task "default" => "framework")
 
(task "doc" is (SH "nudoc"))