Grayson / nutitlecase

An implementation of John Gruber's Title Case in Nu.

This URL has Read+Write access

nutitlecase / Nukefile
75056676 » Grayson Hansard 2008-05-22 First commit. 1 ;; source files
2 (set @m_files (array "./titlecase.m"))
3 (set @nu_files (array "./titlecase.nu"))
4
5 ;; framework description
6 (set @framework "TitleCase")
7 (set @framework_identifier "nu.programming.titlecase")
8 (set @framework_creator_code "????")
9 (set @framework_initializer "TitleCaseInit")
10
11
12 (set @frameworks '("Cocoa" "Nu"))
13 (set @includes "")
14
15 (compilation-tasks)
16 (framework-tasks)
17
18 (task "clobber" => "clean" is
19 (SH "rm -rf #{@framework_dir}"))
20
21
22 (task "install" => "framework" is
23 (SH "sudo rm -rf /Library/Frameworks/#{@framework}.framework")
24 (SH "ditto #{@framework}.framework /Library/Frameworks/#{@framework}.framework"))
25
26 (task "default" => "framework")
27
28 (task "doc" is (SH "nudoc"))