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
Added framework tasks to build and install Markdown.framework.

Markdown can now be used directly from Objective-C by simply loading
the framework and sending messages to the NuMarkdown class.
timburks (author)
Tue Nov 06 22:12:20 -0800 2007
commit  539b8a39fc4a6138ced129ba628f569e7c8da71d
tree    1cfd534c9e6ca9c2b9ed3c060637b8d6f63ab81a
parent  758dab4ac390bce8a0d526cf79a8097876e36f82
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
...
10
11
12
13
14
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
...
23
24
25
 
26
27
28
29
30
31
32
33
0
@@ -1,4 +1,17 @@
0
 
0
+;; source files
0
+(set @m_files (filelist "^objc/.*.m$"))
0
+(set @nu_files (filelist "^nu/.*nu$"))
0
+(set @frameworks '("Cocoa" "Nu"))
0
+
0
+;; framework description
0
+(set @framework "Markdown")
0
+(set @framework_identifier "nu.programming.markdown")
0
+(set @framework_creator_code "????")
0
+(set @framework_initializer "MarkdownInit")
0
+
0
+(compilation-tasks)
0
+(framework-tasks)
0
 
0
 (task "bin/nudown" is
0
       (SH "gcc objc/nudown.m -o bin/nudown -framework Cocoa -framework Nu"))
0
@@ -10,4 +23,10 @@
0
       (SH "rm test/SimpleTests/*.html")
0
       (SH "rm test/MarkdownTests/*.html"))
0
 
0
-(task "default" => "bin/nudown")
0
\ No newline at end of file
0
+(task "clobber" => "clean" is
0
+ (system "rm -rf #{@framework_dir}"))
0
+
0
+(task "default" => "framework")
0
+
0
+(task "install" => "framework" is
0
+ (SH "ditto #{@framework_dir} /Library/Frameworks/#{@framework_dir}"))
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@
0
 ;;
0
 ;; Copyright (c) 2007 Tim Burks, Neon Design Technology, Inc.
0
 
0
-(load "markdown")
0
+(load "Markdown")
0
 
0
 (class TestMarkdown is NuTestCase
0
      

Comments

    No one has commented yet.