Mark Wright
fe1703b9c3
changes for blaze-html 0.5
2012-04-23 23:14:01 +10:00
Jasper Van der Jeugt
c95d056be8
Bump dependencies
2012-03-18 10:51:12 +01:00
Jasper Van der Jeugt
f1a19c860f
Catch errors in compilers
2012-03-18 10:44:54 +01:00
Jasper Van der Jeugt
1996052b11
Add complement function for patterns
2012-02-19 20:39:23 +01:00
Troels Henriksen
80f385c361
Mention how groups work with Hakyll.Core.Rules.create.
2012-02-17 16:25:00 +01:00
Jasper Van der Jeugt
75b8c3e0d2
byIdentifier -> byPattern
2012-02-13 22:30:48 +01:00
Troels Henriksen
87f6279c62
Add byIdentifier compiler.
2012-02-13 21:44:38 +01:00
Jasper Van der Jeugt
593f25b172
Switch to regex-tdfa
2012-02-12 23:53:35 +01:00
Jasper Van der Jeugt
dabaa4532b
Add freshIdentifier
to Hakyll.Core.Rules
2012-01-16 14:35:43 +01:00
Jasper Van der Jeugt
9badd09c91
sequenceA was reversing the list
2011-12-10 16:13:22 +01:00
Jasper Van der Jeugt
e910d53c44
Add a renderModificationTime function
2011-09-19 23:08:40 +02:00
Jasper Van der Jeugt
6808c5350e
Add modification time access for resources
2011-09-16 20:42:31 +02:00
Jasper Van der Jeugt
de01fdf9dd
Use cryptohash instead of hopenssl
2011-08-27 12:16:03 +02:00
Jasper Van der Jeugt
47521b3893
Clean cabal file, migrate to serveDirectoryWith
2011-06-20 10:46:16 +02:00
Jasper Van der Jeugt
fbe95ce6ce
Add deploy command
2011-06-15 08:53:47 +02:00
Jasper Van der Jeugt
44fc490a41
Minor changes in Page haddocks
2011-05-30 11:45:22 +02:00
Jasper Van der Jeugt
7f7494cd14
Some prototype work on the Page.List module
2011-05-29 19:46:29 +02:00
Jasper Van der Jeugt
6bb94ac3fa
Relax Rules to RulesM a in most places
2011-05-29 12:30:33 +02:00
Jasper Van der Jeugt
d3f15b18a5
Type-safe identifiers in haddocks
2011-05-28 22:33:48 +02:00
Jasper Van der Jeugt
e2cce1b341
Merge branch 'master' into type-safe-identifiers
2011-05-27 18:25:09 +02:00
Jasper Van der Jeugt
d004dc1999
Test for UnixFilter
2011-05-25 11:24:33 +02:00
Jasper Van der Jeugt
63a637f27c
Add getResource, customizable sink for logger
2011-05-25 11:23:50 +02:00
Jasper Van der Jeugt
f6f7cde03c
Return information in rules
2011-05-24 14:39:21 +02:00
Jasper Van der Jeugt
758e0beaaa
Type-safe identifiers
2011-05-24 11:58:13 +02:00
Jasper Van der Jeugt
41b7f37138
Type-safe patterns
2011-05-24 10:12:10 +02:00
Jasper Van der Jeugt
7766a52277
Writable instance for ()
2011-05-22 20:19:55 +02:00
Jasper Van der Jeugt
da3aa16c8b
Better error messages for type errors
2011-05-19 00:41:39 +02:00
Jasper Van der Jeugt
c9fa74fd8e
Warning in the docs about cache types
2011-05-17 11:00:53 +02:00
Jasper Van der Jeugt
dfe14d295e
More better errors
2011-05-17 10:57:37 +02:00
Jasper Van der Jeugt
86cdd0327f
Fix issue with ignoreFile
2011-05-16 23:12:51 +02:00
Jasper Van der Jeugt
52a06f13e7
Fix dependency edge case for singletons
2011-05-13 19:07:15 +02:00
Jasper Van der Jeugt
97d81872c5
Fix encoding errors with unixFilter
2011-05-06 10:28:35 +02:00
Jasper Van der Jeugt
047319b058
Writable instance for Identifier
2011-05-02 23:16:43 +02:00
Jasper Van der Jeugt
c7be8f4fc6
Dump dependency cycle on error
2011-04-17 09:13:49 +02:00
Jasper Van der Jeugt
5327e88160
Add resources
function to rules DSL
2011-04-14 10:17:08 +02:00
Jasper Van der Jeugt
131a49c0e7
Remove debug output
2011-04-13 21:19:18 +02:00
Jasper Van der Jeugt
35162f9433
Document group
function
2011-04-13 17:52:22 +02:00
Jasper Van der Jeugt
c463eb6a16
Pick first compiler on overlap
2011-04-13 17:42:57 +02:00
Jasper Van der Jeugt
4ae03a797f
Dummy resource provider for testing purposes
2011-04-12 11:47:26 +02:00
Jasper Van der Jeugt
edcd3151ee
Refactor resource provider creation
2011-04-12 11:43:12 +02:00
Jasper Van der Jeugt
b37da38d39
Major refactoring of identifiers/resources/groups
2011-04-12 10:09:03 +02:00
Jasper Van der Jeugt
0a3cd37cc9
Show group for identifier
2011-04-12 09:00:36 +02:00
Jasper Van der Jeugt
f969950977
Playing around with groups
2011-04-11 21:57:33 +02:00
Jasper Van der Jeugt
b9efc54e93
Set and check identifier groups
2011-04-11 18:10:45 +02:00
Jasper Van der Jeugt
15045d313c
Add identifierGroup, clean up Pattern API
2011-04-11 18:07:17 +02:00
Jasper Van der Jeugt
a8accd36b1
Minor refactoring
2011-04-08 22:17:04 +02:00
Jasper Van der Jeugt
901b672107
Play with dependency analyzer
2011-04-06 14:40:36 +02:00
Jasper Van der Jeugt
80596b1f56
Merge branch 'master' into dependency-analyzer
2011-04-06 14:05:29 +02:00
Jasper Van der Jeugt
78dbe8a3d1
Add regex predicate helper
2011-04-06 09:39:20 +02:00
Jasper Van der Jeugt
3d2b2506d0
Move modified cache to resource provider
...
Currently, it's kept twice: in Run and in the Provider. On
the long term, it should be migrated entirely to the
Provider, this can be done when the new dependency manager
is finished.
2011-04-06 09:30:24 +02:00
Jasper Van der Jeugt
015663657c
New resource module hierarchy
2011-04-05 22:14:49 +02:00
Jasper Van der Jeugt
433f36e6f3
Merge branch 'nested-rules'
2011-04-05 22:02:40 +02:00
Jasper Van der Jeugt
ff118fec98
Simplify match implementation(s)
2011-04-05 11:58:26 +02:00
Jasper Van der Jeugt
4925dd828e
Bring tests up-to-date
2011-04-05 11:52:50 +02:00
Jasper Van der Jeugt
ecf4c64f62
Monoid instance for pattern
2011-04-05 11:50:46 +02:00
Jasper Van der Jeugt
b7059a0f1a
Add function to construct predicates
2011-04-05 11:46:16 +02:00
Jasper Van der Jeugt
091014a60e
Restructure pattern internals
2011-04-05 10:55:09 +02:00
Jasper Van der Jeugt
041ec5c309
Add getIdentifiers
2011-04-04 22:58:43 +02:00
Jasper Van der Jeugt
f6c65aadd7
Works-for-me implementation of nested rules
2011-04-04 20:49:22 +02:00
Jasper Van der Jeugt
5cc710d548
Don't ignore dotfiles in getRecursiveContents
2011-04-04 12:16:38 +02:00
Jasper Van der Jeugt
c3dbb0ca77
Start playing with dependency analyzer
2011-04-03 10:23:27 +02:00
Jasper Van der Jeugt
8bd45b97de
New implementation of patterns using globs.
...
Closes gh-18
2011-03-29 15:04:01 +02:00
Jasper Van der Jeugt
e9666f78e8
Add new dependency analyzer & tests
2011-03-28 18:35:02 +02:00
Jasper Van der Jeugt
241efb1614
Fix storing path
2011-03-20 17:18:29 +01:00
Jasper Van der Jeugt
9d95ef483d
Save dependency graph after run
2011-03-20 17:17:39 +01:00
Jasper Van der Jeugt
92aa446041
Don't require Writable for storing things
2011-03-20 15:51:20 +01:00
Jasper Van der Jeugt
99233f830c
Binary instance for DirectedGraph
2011-03-20 15:14:42 +01:00
Jasper Van der Jeugt
cb4db8b9d5
Throw nice error in cached
2011-03-07 11:14:20 +01:00
Jasper Van der Jeugt
b9bc7f90e1
Throw nice error in getResourceString
2011-03-07 11:04:01 +01:00
Jasper Van der Jeugt
8cfa962005
Add ErrorT to CompilerM monad stack
2011-03-06 15:56:22 +01:00
Jasper Van der Jeugt
be685e6fcd
Add BlazeHtml integration
2011-03-04 11:46:06 +01:00
Jasper Van der Jeugt
21789abd10
Add WritableTuple
2011-03-02 20:37:34 +01:00
Jasper Van der Jeugt
fa057f3011
Add composeRoutes
2011-03-01 09:40:07 +01:00
Jasper Van der Jeugt
d460fd88d1
Add gsubRoute
2011-02-28 22:40:23 +01:00
Jasper Van der Jeugt
49989eab57
Web.Util.String → {Web.Util.Url, Core.Util.String}
2011-02-28 22:33:28 +01:00
Jasper Van der Jeugt
5c454fc2ce
Fix $body$ bug, add traceShowCompiler
2011-02-26 15:49:11 +01:00
Jasper Van der Jeugt
b73fc8e831
Add some more information on metacompilation
2011-02-26 11:07:46 +01:00
Jasper Van der Jeugt
c89cfdb456
Add byExtension
compiler
2011-02-25 14:36:34 +01:00
Jasper Van der Jeugt
730eebe989
The dependency analyzer now knows a little more
2011-02-25 14:17:30 +01:00
Jasper Van der Jeugt
917829539c
Add report function to logger
2011-02-21 13:15:11 +01:00
Jasper Van der Jeugt
8b57ab509f
Add logger to Compiler monad
2011-02-21 13:02:35 +01:00
Jasper Van der Jeugt
12a0e5387b
Add Unix filters as compilers
2011-02-21 11:42:19 +01:00
Jasper Van der Jeugt
678f18973f
Quit/Sync bug fix
2011-02-21 10:56:04 +01:00
Jasper Van der Jeugt
256cc760ba
Add pretty, thread-safe logger
2011-02-21 02:56:57 +01:00
Jasper Van der Jeugt
f04efbad3e
Preview/INotify now works
2011-02-19 17:04:50 +01:00
Jasper Van der Jeugt
a5438d8d92
defaultCopyFile → copyFileCompiler
2011-02-15 22:46:43 +01:00
Jasper Van der Jeugt
3346123ca6
Receive list of used resources in Run module
2011-02-15 18:43:22 +01:00
Jasper Van der Jeugt
5a591ee24c
Rules DSL tracks resources used
2011-02-15 18:32:55 +01:00
Jasper Van der Jeugt
1e0c875d6e
More Identifier documentation
2011-02-12 16:54:31 +01:00
Jasper Van der Jeugt
1100f65f76
Document Compiler module
2011-02-12 10:26:58 +01:00
Jasper Van der Jeugt
34257df262
Resource = Identifier with an exists invariant
2011-02-11 23:26:54 +01:00
Jasper Van der Jeugt
2b9858a8f9
Add Resource type for improved type-safety
2011-02-11 17:52:19 +01:00
Jasper Van der Jeugt
dd81433d74
Split Rules module, add documentation
2011-02-11 13:30:55 +01:00
Jasper Van der Jeugt
2dfe7f6a67
Document Routes module
2011-02-11 08:48:18 +01:00
Jasper Van der Jeugt
4e0abd872a
Update cabal file, fix warnings
2011-02-11 08:39:10 +01:00
Jasper Van der Jeugt
84d920432c
Add customRoute
2011-02-11 08:20:35 +01:00
Jasper Van der Jeugt
c03607e087
Add prototype inotify backend
2011-02-10 20:05:50 +01:00
Jasper Van der Jeugt
77f37c1443
getRecursiveContents can return directories
2011-02-10 18:59:16 +01:00
Jasper Van der Jeugt
48da85b341
Add isFileInternal
2011-02-10 16:42:26 +01:00
Jasper Van der Jeugt
ee320c6166
Finish tags module
2011-02-09 13:02:28 +01:00
Jasper Van der Jeugt
f56eb538b6
Lazy pattern matching for compiler composition
2011-02-07 16:01:09 +01:00
Jasper Van der Jeugt
986a74b3af
Add mapA
2011-02-07 11:41:09 +01:00
Jasper Van der Jeugt
bd261e9151
Add getRouteFor
2011-02-06 18:32:09 +01:00
Jasper Van der Jeugt
ec9c1ec0db
Instantiate ArrowChoice for Compiler
2011-02-05 13:38:20 +01:00
Jasper Van der Jeugt
c093761e89
Route → Routes
2011-02-03 16:07:49 +01:00
Jasper Van der Jeugt
26c95402d8
Add a top-level configuration type
2011-02-03 11:34:00 +01:00
Jasper Van der Jeugt
c691251fc7
Autogenerate metacompiler indentifiers
2011-01-30 10:44:42 +01:00
Jasper Van der Jeugt
6cecbb890f
Add fromCaptureString
function
2011-01-25 20:56:10 +01:00
Jasper Van der Jeugt
7ba1413ea9
Add suffix to store files
...
This prevents file/directory clashes. Example:
when we have a `tags` item, and a `tags/foo` item,
there will be a clash since the store creates:
- a file `store/tags`;
- a file `store/tags/foo`.
The second file requires the first file to be a
directory.
We simply solve this by adding a suffix to all
store files, so it becomes:
- a file `store/tags.hakyllstore`;
- a file `store/tags/foo.hakyllstore`.
2011-01-25 13:50:02 +01:00
Jasper Van der Jeugt
e536a5961c
Functor & Applicative instances for Compiler
2011-01-25 11:14:22 +01:00
Jasper Van der Jeugt
9b3e524128
Define all require functions in arrows
...
TODO: Think of a good naming scheme
2011-01-24 13:30:23 +01:00
Jasper Van der Jeugt
69f15f55ee
Fix typo in requireAllA doc (thanks beastaugh)
2011-01-19 08:51:18 +01:00
Jasper Van der Jeugt
89cd33c723
Add requireA/requireAllA functions
2011-01-18 23:58:29 +01:00
Jasper Van der Jeugt
0bbc01f012
Backports feeds
2011-01-18 13:29:42 +01:00
Jasper Van der Jeugt
2f951598ef
Allow IO operations in compilers
2011-01-17 22:43:44 +01:00
Jasper Van der Jeugt
78391b9be2
Clearer error message
2011-01-17 16:08:13 +01:00
Jasper Van der Jeugt
d569ae5156
Add utility mapA function
2011-01-17 10:03:26 +01:00
Jasper Van der Jeugt
b867e6f204
Fix skipping certain compilers error
2011-01-17 10:02:46 +01:00
Jasper Van der Jeugt
6e7dc0e58f
Micro-cleanup
2011-01-14 08:50:34 +01:00
Jasper Van der Jeugt
3ea3c52f53
Rewrite Run module a bit, get rid off obsolete
2011-01-11 20:20:34 +01:00
Jasper Van der Jeugt
607b1d7d63
sanitize function for DirectedGraph
2011-01-11 19:55:34 +01:00
Jasper Van der Jeugt
c6710ac09a
Migrate Reader → Reader, State in Run module
2011-01-08 10:31:08 +01:00
Jasper Van der Jeugt
df8e221aef
Fully qualified errors
2011-01-08 09:09:11 +01:00
Jasper Van der Jeugt
d0939102bf
Metacompilers now work, todo: cleanup
2011-01-07 19:17:14 +01:00
Jasper Van der Jeugt
ddb8ea2193
Metacompilers now work, except for "modified"
2011-01-07 15:44:11 +01:00
Jasper Van der Jeugt
672ecb077c
Add fromCapture(s)
2011-01-07 15:09:55 +01:00
Jasper Van der Jeugt
7bf3450caf
Run metacompilers instead of ignoring them
2011-01-07 14:48:47 +01:00
Jasper Van der Jeugt
1bf95c0028
Rank N compilers (compiler in compilers in...)
2011-01-07 14:40:33 +01:00
Jasper Van der Jeugt
f1e726be69
Renaming for consistency
2011-01-07 14:34:31 +01:00
Jasper Van der Jeugt
9e88440102
Restructure hakyllWith for metacompilers
2011-01-07 14:22:15 +01:00
Jasper Van der Jeugt
c7d63835f8
Move hakyllWith to hakyll monad
2011-01-07 12:47:02 +01:00
Jasper Van der Jeugt
11d7031da3
Add compilers producing compilers
2011-01-07 12:12:13 +01:00
Jasper Van der Jeugt
70fa0c2ff1
Add waitFor directive
2011-01-07 10:14:36 +01:00
Jasper Van der Jeugt
77c7d8dc17
Add in-memory map to store
...
This allows us to get rid of the dependency
lookup map and use one uniform cache/lookup.
2011-01-04 13:09:45 +01:00
Jasper Van der Jeugt
0969fe41c7
Add relativize URL's functionality
2011-01-04 11:13:08 +01:00
Jasper Van der Jeugt
e395b0af9a
Store result automatically using runCompiler
2011-01-03 23:24:22 +01:00
Jasper Van der Jeugt
2ceb5f59d0
Avoid looking at up-to-date items at all
2011-01-03 22:13:04 +01:00
Jasper Van der Jeugt
40c75767d4
Store modified flags in a map
...
This allows reuse for actual dependency checking
(to be implemented later).
2011-01-03 11:33:59 +01:00
Jasper Van der Jeugt
e54834f444
Check modification only once
2010-12-31 15:15:35 +01:00
Jasper Van der Jeugt
8bb4ea5c83
Add resourceExists function
2010-12-31 13:28:31 +01:00
Jasper Van der Jeugt
5b67f20eab
Prototype of the 'cached' arrow transformer
2010-12-31 12:38:12 +01:00
Jasper Van der Jeugt
70c7363b8c
Add wasModified method
2010-12-31 12:18:33 +01:00
Jasper Van der Jeugt
e49cd3b4b0
Cleanup, split up page module
2010-12-30 21:18:55 +01:00
Jasper Van der Jeugt
da12825066
Compiler → {Compiler, Compiler.Internal}
2010-12-30 17:47:31 +01:00
Jasper Van der Jeugt
227b186bf2
Remove compileFromString function
2010-12-30 15:57:36 +01:00
Jasper Van der Jeugt
86fafe6e61
Add CopyFile newtype
2010-12-30 13:49:58 +01:00
Jasper Van der Jeugt
687c17c6bb
Cleanup arrow code
2010-12-30 10:11:37 +01:00
Jasper Van der Jeugt
1c1133dfd6
More arrows
2010-12-30 10:02:25 +01:00
Jasper Van der Jeugt
6268e4a4fe
Experimental arrow-based approach
2010-12-29 22:59:38 +01:00
Jasper Van der Jeugt
bf31c55c99
Add requireAll function
2010-12-29 15:33:22 +01:00
Jasper Van der Jeugt
27ff2eef89
Use Typeable instead of ADT
2010-12-28 11:12:45 +01:00
Jasper Van der Jeugt
a1043203bb
Add a snapshot state to target monad
2010-12-27 18:38:46 +01:00
Jasper Van der Jeugt
e07014b5bd
Targets have access to the store
2010-12-27 17:40:55 +01:00
Jasper Van der Jeugt
bc92f7fea5
Add resourceDigest function
2010-12-26 16:22:05 +01:00
Jasper Van der Jeugt
95f59be5a0
Simple key-value store
2010-12-26 16:12:57 +01:00
Jasper Van der Jeugt
b30123f93c
Add resourceLazyByteString function
2010-12-26 16:12:48 +01:00
Jasper Van der Jeugt
9939708c66
Consistent naming: target vs compiler
2010-12-26 13:21:27 +01:00
Jasper Van der Jeugt
7f4b5e542c
Add getIdentifier function in target
2010-12-26 12:31:15 +01:00
Jasper Van der Jeugt
36ec2c15b8
Add targetFromString compiler function
2010-12-26 11:57:42 +01:00
Jasper Van der Jeugt
427a740038
Ignore unexisting files in obsolete check
2010-12-26 11:57:19 +01:00
Jasper Van der Jeugt
53d179a7da
Add file utility module
2010-12-26 09:38:40 +01:00
Jasper Van der Jeugt
5bc8028696
Add DirectedGraph to DOT module
2010-12-26 00:09:35 +01:00
Jasper Van der Jeugt
ec85de418b
Prototype Run module
2010-12-25 22:02:20 +01:00
Jasper Van der Jeugt
0cd7716dae
Add writable class
2010-12-25 20:18:36 +01:00
Jasper Van der Jeugt
6b6a78ea41
Add rules module
2010-12-25 19:37:21 +01:00
Jasper Van der Jeugt
c372fc47da
Add Compiler module
2010-12-25 18:15:44 +01:00
Jasper Van der Jeugt
12c446785c
Add target module
2010-12-24 16:55:20 +01:00
Jasper Van der Jeugt
4b7c42d644
Add resource provider modules
2010-12-24 08:42:05 +01:00
Jasper Van der Jeugt
4bdd93b331
Add Route code
2010-12-23 19:20:05 +01:00
Jasper Van der Jeugt
07ca8954a5
Minor change to pattern documentation
2010-12-23 18:24:19 +01:00
Jasper Van der Jeugt
10328b890c
Document the pattern module a bit
2010-12-23 18:22:16 +01:00
Jasper Van der Jeugt
3fdf8ab204
Add identifier/pattern modules
2010-12-23 17:19:21 +01:00
Jasper Van der Jeugt
d1d28b9349
Add tests for the directed graph modules
2010-12-23 14:51:38 +01:00
Jasper Van der Jeugt
ad6712121f
Add directed graph modules
2010-12-23 14:31:45 +01:00