Browse Source

unfuarked stuff for nix

Shaun Kerr 8 months ago
parent
commit
dc854d564f
2 changed files with 6 additions and 5 deletions
  1. 1
    0
      .gitignore
  2. 5
    5
      README.md

+ 1
- 0
.gitignore View File

@@ -23,3 +23,4 @@ cabal.project.local~
23 23
 _site/
24 24
 _cache/
25 25
 Makefile
26
+result

+ 5
- 5
README.md View File

@@ -26,20 +26,20 @@ nix-shell --attr env rf.nix
26 26
 Compile the generator
27 27
 
28 28
 ```
29
-cabal build
30
-```
29
+nix-build rf.nix
30
+```  
31 31
 
32 32
 Generate the site
33 33
 
34 34
 ```
35
-cabal run site clean
36
-cabal run site build
35
+./result/site clean
36
+./result/site build
37 37
 ```
38 38
 
39 39
 And test it out
40 40
 
41 41
 ```
42
-cabal run site watch
42
+./result/site watch
43 43
 ```
44 44
 
45 45
 The site will now be avaliable at `localhost:8000`

Loading…
Cancel
Save