mill 0.1 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,30 +0,0 @@
1
- class Mill
2
-
3
- FileTypes = {
4
- text: %w{
5
- text/plain
6
- text/html
7
- },
8
- image: %w{
9
- image/gif
10
- image/jpeg
11
- image/png
12
- image/tiff
13
- image/vnd.microsoft.icon
14
- image/x-icon
15
- },
16
- generic: %w{
17
- text/css
18
- application/font-sfnt
19
- application/x-font-opentype
20
- application/x-font-otf
21
- application/x-font-truetype
22
- application/x-font-ttf
23
- application/javascript
24
- application/x-javascript
25
- text/javascript
26
- application/pdf
27
- },
28
- }
29
-
30
- end
@@ -1,15 +0,0 @@
1
- class Mill
2
-
3
- class Resource
4
-
5
- class Generic < Resource
6
-
7
- def self.type
8
- :generic
9
- end
10
-
11
- end
12
-
13
- end
14
-
15
- end
data/lib/mill/tasks.rake DELETED
@@ -1,31 +0,0 @@
1
- $LOAD_PATH.unshift 'lib'
2
-
3
- desc 'Clean site directories.'
4
- task :clean do
5
- $mill.clean
6
- end
7
-
8
- desc 'Load site.'
9
- task :load => :clean do
10
- $mill.load
11
- end
12
-
13
- desc 'Build site.'
14
- task :build => :load do
15
- $mill.build
16
- end
17
-
18
- desc 'Publish site (final).'
19
- task :publish => :build do
20
- $mill.publish(:final)
21
- end
22
-
23
- desc 'Publish site (beta).'
24
- task 'publish:beta' => :build do
25
- $mill.publish(:beta)
26
- end
27
-
28
- desc 'Run a test server.'
29
- task :server => :build do
30
- $mill.server
31
- end