Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 929 Bytes
;; source files
(set @m_files (filelist "^objc/.*.m$"))
(set @nu_files (filelist "^nu/.*nu$"))
(set @frameworks '("Cocoa" "Nu"))
;; framework description
(set @framework "NuMarkdown")
(set @framework_identifier "nu.programming.markdown")
(set @framework_creator_code "????")
(set @framework_initializer "MarkdownInit")
(compilation-tasks)
(framework-tasks)
(task "bin/nudown" is
(SH "gcc objc/nudown.m -o bin/nudown -framework Cocoa -framework Nu"))
(task "test" => "framework" is
(SH "nutest test/test_markdown.nu"))
(task "clean" is
(SH "rm -f test/SimpleTests/*.html")
(SH "rm -f test/MarkdownTests/*.html"))
(task "clobber" => "clean" is
(system "rm -rf #{@framework_dir}"))
(task "default" => "framework")
(task "install" => "framework" is
(SH "sudo cp bin/nudown /usr/local/bin/nudown")
(SH "ditto #{@framework_dir} /Library/Frameworks/#{@framework_dir}"))