Skip to content

Commit 2f19922

Browse files
committed
Clarify contributing / publishing process
* Move the generator directory to _generator so that GH pages ignores it * Add some more scripts to package.json to simplify build process * Ignore the _cache directory * Updates to README.md: * Update contributing info * Remove message about installing Compass now that we use node-sass * Remove 'todo' about watch command (that is what GH issues are for)
1 parent 12dee9b commit 2f19922

File tree

87 files changed

+21
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+21
-15
lines changed

.gitignore

-5
This file was deleted.

README.md

+12-8
-23.2 KB
Binary file not shown.
-12.4 KB
Binary file not shown.
-8 Bytes
Binary file not shown.
-12.9 KB
Binary file not shown.
-7.45 KB
Binary file not shown.
-24 Bytes
Binary file not shown.
-1.19 KB
Binary file not shown.
-6.73 KB
Binary file not shown.
-9.59 KB
Binary file not shown.
-35 Bytes
Binary file not shown.
-24.8 KB
Binary file not shown.
-8 Bytes
Binary file not shown.
-7.71 KB
Binary file not shown.
-129 Bytes
Binary file not shown.
-8 Bytes
Binary file not shown.
-140 Bytes
Binary file not shown.
-121 Bytes
Binary file not shown.
-13 KB
Binary file not shown.
-25 Bytes
Binary file not shown.
-3.97 KB
Binary file not shown.
-24 Bytes
Binary file not shown.
-18.2 KB
Binary file not shown.
-22 Bytes
Binary file not shown.
-6.5 KB
Binary file not shown.
-9.4 KB
Binary file not shown.
-8 Bytes
Binary file not shown.
-1.29 KB
Binary file not shown.
-8 Bytes
Binary file not shown.
-134 Bytes
Binary file not shown.
-6.55 KB
Binary file not shown.
-1 Bytes
Binary file not shown.
-35 Bytes
Binary file not shown.
-11 KB
Binary file not shown.
-30 Bytes
Binary file not shown.
-16.6 KB
Binary file not shown.
-1 Bytes
Binary file not shown.
-210 Bytes
Binary file not shown.
-30 Bytes
Binary file not shown.
-3.73 KB
Binary file not shown.
-10.8 KB
Binary file not shown.
-1 Bytes
Binary file not shown.
-7.97 KB
Binary file not shown.
-1.22 KB
Binary file not shown.
-117 Bytes
Binary file not shown.
-2.41 KB
Binary file not shown.
-1 Bytes
Binary file not shown.
-14.6 KB
Binary file not shown.
-128 Bytes
Binary file not shown.
-5.83 KB
Binary file not shown.
-238 Bytes
Binary file not shown.
-8 Bytes
Binary file not shown.
-20 Bytes
Binary file not shown.
-10 KB
Binary file not shown.
-15 Bytes
Binary file not shown.
-3.28 KB
Binary file not shown.
-1 Bytes
Binary file not shown.

_generator/.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/css
2+
/node_modules
3+
/_cache
4+
/_site
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

generator/package.json _generator/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"private": true,
44
"scripts": {
55
"sass": "echo \"try{require('fs').mkdirSync('css');}catch(e){}; require('fs').writeFileSync('css/style.css', require('node-sass').renderSync({ file: 'sass/style.scss', outputStyle: 'compressed' }).css);\" | node",
6-
"rebuild": "npm run sass && stack --stack-yaml stack.yaml exec site rebuild"
6+
"hakyll": "stack --stack-yaml stack.yaml build && stack --stack-yaml stack.yaml exec site rebuild",
7+
"copy": "ncp _site ..",
8+
"build": "npm run sass && npm run hakyll && npm run copy"
79
},
810
"dependencies": {
9-
"node-sass": "^3.5.3"
11+
"node-sass": "^3.5.3",
12+
"ncp": "^2.0.0"
1013
}
1114
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)