Johann
8dff752639
fail safer
2014-10-31 01:08:52 +01:00
Johann
024975f165
Remove string passing in favor of &Path
2014-10-31 01:02:55 +01:00
Benny Klotz
ad645cb398
added comment
2014-10-28 23:03:43 +01:00
Benny Klotz
80d6d583e3
use getopts crate for cli
2014-10-28 23:01:14 +01:00
Benny Klotz
a7e6a9ab33
added comment
2014-10-28 17:06:29 +01:00
Benny Klotz
afb5345e1e
removed comment about myself
2014-10-27 14:49:13 +01:00
Benny Klotz
abce9ebcdb
added @johannhof to authors list
2014-10-27 14:48:27 +01:00
Benny Klotz
02099c2343
removed some comments
2014-10-27 13:27:23 +01:00
Benny Klotz
3a259bd65e
readme typo
2014-10-27 10:47:15 +01:00
Benny Klotz
949ba0ef53
updated readme
2014-10-27 10:34:55 +01:00
Benny Klotz
b392316640
deleted build folder
2014-10-27 10:32:53 +01:00
Benny Klotz
bc4d07d25b
updated example
2014-10-27 10:32:41 +01:00
Benny Klotz
5fa641dd5b
delete parse_index, introduce generic parse_document which is used for index parsing and in parse_documents for document parsing, check if document contains --- seperator
2014-10-27 10:32:17 +01:00
Benny Klotz
7b6e3edd84
use @extends attribute as layout
2014-10-27 10:31:16 +01:00
Benny Klotz
d5bdef6a4a
added todo comment
2014-10-27 09:11:28 +01:00
Benny Klotz
f93e884e55
refactored a little bit..
2014-10-27 09:10:27 +01:00
Benny Klotz
f8d3bfe9f8
remove unused import, vars shouldn't be mutable if not explicitly needed
2014-10-26 12:53:28 +01:00
Benny Klotz
c8beca0769
extract parsing of index into own function
2014-10-26 12:23:05 +01:00
Benny Klotz
2ebfc2360e
refactor Path creation and string manipulation
2014-10-26 12:11:14 +01:00
Benny Klotz
addde74073
renamed cli.rs to cobalt.rs, don't expose the whole cobalt module as public, reexport cobalt::cobalt::Runner as public cobalt::Runner
2014-10-26 01:42:46 +02:00
Benny Klotz
ef0e728aae
remove extern crate mustache from module files, reimport it to the local module scope via use mustache if needed
2014-10-26 01:12:54 +02:00
Benny Klotz
3417efd3bc
document isn't a public module
2014-10-26 01:08:52 +02:00
Benny Klotz
952f780719
updated readme
2014-10-26 00:14:35 +02:00
Benny Klotz
6016a405ca
removed example build folder
2014-10-26 00:06:10 +02:00
Benny Klotz
e217e157ac
Half way there.
...
Kinda working, but the code is very ugly and there are many missing
features (different layouts for index and posts, document var in index
available, etc..).
2014-10-26 00:04:54 +02:00
Benny Klotz
fce925bd45
added rust-mustache dependency
2014-10-25 23:49:51 +02:00
Benny Klotz
771a627d42
implemented std::fmt::Show trait for Document, better for debugging purpose, started implementation for document html view
2014-10-25 16:49:46 +02:00
Benny Klotz
84392251f2
Implemented parsing of documents - parsed in Document has following members: name, user-set attributes & content
2014-10-25 16:29:22 +02:00
Benny Klotz
8536ac226c
updated README
2014-10-25 15:23:52 +02:00
Benny Klotz
bead6d11cd
updated readme
2014-10-25 15:03:03 +02:00
Benny Klotz
bc713e1bdd
renamed rustie to cobalt
2014-10-25 14:36:05 +02:00
Benny Klotz
8a3eb2c3a7
implement basic Runner::extract_attributes and Runner::extract_content private static methods
2014-10-24 17:10:05 +02:00
Benny Klotz
dd5b5488ff
Implemented Document::new which returns a new document with attributes of type Vec<(String, String)> and content of type String
2014-10-24 17:09:16 +02:00
Benny Klotz
5aca6df2f6
basic document module with Document struct and impl
2014-10-24 15:35:22 +02:00
Benny Klotz
c40f52c8be
pub use document module
2014-10-24 15:35:01 +02:00
Benny Klotz
3c8e25e5f9
use absolute paths for all paths, create Documents from path and push them to documents vector
2014-10-24 15:34:31 +02:00
Benny Klotz
86c2ed94ce
updated readme
2014-10-24 14:29:40 +02:00
Benny Klotz
26abad4051
basic Runner::run() implementation
2014-10-24 14:03:34 +02:00
Benny Klotz
3d7cd873ff
basic binary implementation - run with cli argument or use "." as default path
2014-10-24 14:02:23 +02:00
Benny Klotz
a5490c7804
updated readme
2014-10-24 13:14:03 +02:00
Benny Klotz
8ebed890ca
updated readme
2014-10-24 12:43:16 +02:00
Benny Klotz
d40fac779d
added README
2014-10-24 12:41:07 +02:00
Benny Klotz
fb6a497809
initial project layout - binary which uses rustie crate (lib.rs) which makes use of specific rustie modules (cli for now)
2014-10-24 12:21:30 +02:00