GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: The web site for the Nu programming language
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/programmingnu.git
Updated README and nunja configuration file, added "preview" task.
timburks (author)
Mon May 12 10:53:04 -0700 2008
commit  34a6709c0ead9ec9622e27489f377afa7f870a34
tree    94248216184d501c3908370fc90862989259f9fb
parent  69f6708ff2ef8a52955510685081c3c56ca308ba
...
1
2
3
4
5
6
7
 
 
8
9
 
 
10
11
12
 
 
 
...
1
 
2
3
4
 
 
5
6
7
 
8
9
10
11
12
13
14
15
0
@@ -1,12 +1,15 @@
0
 
0
-
0
 (task "build" is
0
       (SH "nush builder.nu"))
0
 
0
-(task "publish" is
0
- (SH "rsync -ave ssh site/public/ helium:/Sites/programming.nu/public/"))
0
+(task "preview" is
0
+ (SH "nunjad -s site"))
0
 
0
-(task "default" => "build")
0
+(task "publish" is ;; requires a password
0
+ (SH "rsync -ave ssh site/public/ programming.nu:/Sites/programming.nu/public/"))
0
 
0
 (task "clean" is
0
       (SH "rm -rf site"))
0
+
0
+(task "default" => "build")
0
+
0
...
5
6
7
8
 
9
10
11
12
13
 
 
 
 
 
 
 
...
5
6
7
 
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -5,9 +5,16 @@ It includes the text of the site and build scripts.
0
 
0
 All contents copyright 2007-2008, Neon Design Technology, Inc.
0
 
0
-Build scripts are released under the Apache Public License, v. 2.0.
0
+Build scripts are released under the Apache License, v. 2.0.
0
 See the LICENSE file for details.
0
 
0
 Text is released under the Creative Commons
0
 Attribution-Noncommercial-No Derivative Works 3.0 United States License.
0
 
0
+==
0
+
0
+To build the site, just run "nuke". Building requires NuMarkdown
0
+and NuYAML. Both are available on github.
0
+
0
+To preview the site, run "nuke preview". This requires Nunja, which
0
+is also available on github.
...
14
15
16
17
18
19
20
21
...
28
29
30
31
 
32
33
34
...
14
15
16
 
 
17
18
19
...
26
27
28
 
29
30
31
32
0
@@ -14,8 +14,6 @@
0
 
0
 (class NSString
0
      
0
- (- lines is ((self componentsSeparatedByString:"\n") select:(do (x) (!= x ""))))
0
-
0
      (- (id) markdownToHTML is (NuMarkdown convert:self))
0
      
0
      ;; Convert a Textile-formatted string to HTML.
0
@@ -28,7 +26,7 @@
0
      ;; require 'RedCloth' <br/>
0
      ;; puts RedCloth.new(STDIN.read).to_html
0
      ;; </code>
0
- (- (id) textileToHTML is
0
+ (- (id) _UNUSED_textileToHTML is
0
         (unless $textileCache (set $textileCache (dict)))
0
         (unless (set results ($textileCache objectForKey:self))
0
                 (set input (NSPipe pipe))
...
14
15
16
17
 
18
19
20
 
...
14
15
16
 
17
18
 
19
20
0
@@ -14,6 +14,6 @@
0
 ;; See the License for the specific language governing permissions and
0
 ;; limitations under the License.
0
 
0
-(get "/" (self redirectResponse:request toLocation:"/index"))
0
+(get "/" (Nunja redirectResponse:REQUEST toLocation:"/index"))
0
 
0
-;; everything else falls through to static files
0
\ No newline at end of file
0
+;; everything else falls through to static files

Comments

    No one has commented yet.