Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Thiel
475163ec29 feat(mako): now sets up entire project structure
That way, we have a common library to pull in from the main repository,
and a space for testing new code (in a partial implementation).

Next there will be generated object structures.
2015-03-02 16:50:22 +01:00
Sebastian Thiel
fc15a7030f feat(license): improved license information
... and readme, and looks of author listing.
Slowly getting into the flow, possibilities seem thrilling.
2015-03-02 15:23:41 +01:00
Sebastian Thiel
3670e4f6c9 feat(mako): LICENSE + README.md
Readme is very initial, but the architecture is set to evolve it to
something no less than beatiful.
2015-03-02 14:58:18 +01:00
Sebastian Thiel
4e5f2c05d9 feat(mako): mako-render generates output dirs
That way, the makefile doesn't need to know that much anymore, and
gets simpler/less verbose.

\# Also
* Added filters for rust doc string
* fixed .PHONY
2015-03-02 13:45:57 +01:00
Sebastian Thiel
11b6fe212f fix(rename): mv youtube-rs to google-apis-rs 2015-03-02 12:05:42 +01:00
Sebastian Thiel
be938255bd feat(mako): cargo.toml template
It's quite final, and super easy to change and to read.

It seems we want to use namespaces/shared implementations soon to allow
using defs. In our case, we transform the version in a particular way,
which is easy enough, yet I'd like to use it to make the system more
powerful.
2015-03-01 18:31:55 +01:00
Sebastian Thiel
2d77857aaf feat(mako): generic source/output mappings
This includes proper handling of dependencies.
The code is concise, pythonic and quite 'cody', but does the job just
fine.
2015-03-01 18:04:00 +01:00
Sebastian Thiel
087a0762ac feat(mako-render): multiple input-outputs per call
That way, we read the data files only once, but produce all the outputs
we need. Together with a powerful makefile, we have a multi-invocation
with proper depedency tracking.
Everything will be regenerated though, even though just a single input
template file changed.

The alternative would be to have one dependency and invocation per
input dependency, but that will read the entire json each time.

Let's see what's faster/more useful during development.
2015-03-01 17:44:02 +01:00
Sebastian Thiel
c0bfeabbc3 feat(pyratemp): successfully generating make deps
After minor modifications to pyratemp, it certainly does the job.

What it **does NOT** do:

* multiple outputs per template/command invocation
* NICE embedding of code (like GSL can)

It will do the job nonetheless, but mako might be worth a look
2015-03-01 15:08:37 +01:00
Sebastian Thiel
179c64c5e7 fix(pyratemp): is now self-contained
A little more than the promised 500 lines of code though ;).
2015-03-01 13:29:54 +01:00
Sebastian Thiel
e06738a7bd fix(template-engine): removed gsl, added pyratemp
As GSL failed in my first attempt to get the example program going,
it might be better to try something else before too much time is spend.

Fortunately, pyratemp **seems** to be something usable, and even if not,
it might be possible to make it usable as it's just a 'simple'
python script that I might be able to understand, if need be.
2015-03-01 13:24:01 +01:00
Sebastian Thiel
e081017cb3 fix(xml): forgot to add shared.xml
As XML files are ignored, I didn't see that.
2015-03-01 11:47:32 +01:00
Sebastian Thiel
eebcf54929 feat(xmlconv): add conversion tool and youtube api
The json file needs to be converted to valid XML, which should be
done by a soon-to-be-modified xml2json tool.
2015-03-01 07:39:04 +01:00