-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNukefile
More file actions
31 lines (21 loc) · 788 Bytes
/
Nukefile
File metadata and controls
31 lines (21 loc) · 788 Bytes
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
30
;; source files
(set @m_files (filelist -"^objc/.*\.m$"))
(set @nu_files (filelist -"^nu/.*\.nu$"))
;; framework description
(set @framework "Tcl")
(set @framework_identifier "nu.programming.tcl")
(set @framework_creator_code "????")
(set @framework_initializer "TclInit")
;; libraries
(set @ldflags "-framework Foundation -framework Nu -ltcl")
(compilation-tasks)
(framework-tasks)
(task "clobber" => "clean" is
(SH "rm -rf #{@framework_dir}"))
(task "default" => "framework")
(task "doc" is (SH "nudoc"))
(task "install" => "framework" is
(SH "sudo rm -rf /Library/Frameworks/#{@framework}.framework")
(SH "ditto #{@framework}.framework /Library/Frameworks/#{@framework}.framework"))
(task "test" => "framework" is
(SH "nutest test/test_*.nu"))