public
Description: Markdown processing with Nu. Use with any Nu or Objective-C project. Created by Grayson Hansard.
Homepage: http://programming.nu/posts/2007/10/10/markdown-in-nu
Clone URL: git://github.com/timburks/numarkdown.git
timburks (author)
Wed Nov 07 20:34:49 -0800 2007
commit  ecd93ac998761810745a0f7882e867dda77dcfdf
tree    7509e5939f69d07d0717fa7b648572e6d51879d5
parent  539b8a39fc4a6138ced129ba628f569e7c8da71d
numarkdown / Nukefile
100644 33 lines (23 sloc) 0.875 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
30
31
32
33
;; 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 "ditto #{@framework_dir} /Library/Frameworks/#{@framework_dir}"))