-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
12 changed files
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,19 @@ | |
# This library is just to try out the code that should ultimately go into the code generator ! | ||
[package] | ||
|
||
name = "youtube3-dev" | ||
name = "cmn" | ||
version = "0.0.1" | ||
authors = ["Sebastian Thiel <[email protected]>"] | ||
description = "A library to facilitate interacting with your youtube account" | ||
repository = "https://github.com/Byron/google-apis-rs" | ||
license = "MIT" | ||
keywords = ["youtube", "google", "protocol", "not-for-use"] | ||
|
||
[lib] | ||
# The common code, used by all generated implementations | ||
name = "cmn" | ||
path = "src/rust/lib.rs" | ||
|
||
[dependencies] | ||
# Just to get hyper to work ! | ||
openssl = "= 0.4.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<% import util %>\ | ||
<%namespace name="lib" file="lib/lib.mako"/>\ | ||
<%namespace name="mutil" file="lib/util.mako"/>\ | ||
<%block filter="util.rust_module_doc_comment">\ | ||
<%lib:docs />\ | ||
</%block> | ||
extern crate cmn; | ||
extern crate "rustc-serialize" as rustc_serialize; | ||
extern crate "yup-oauth2" as oauth2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//! library with code shared by all generated implementations | ||
extern crate hyper; | ||
extern crate "rustc-serialize" as rustc_serialize; | ||
extern crate "yup-oauth2" as oauth2; | ||
|
||
/// This module is for testing only, its code is used in mako templates | ||
#[cfg(test)] | ||
mod dev; |