Mercurial > lbo > hg > async-google-apis
changeset 33:d1a1a533c6be
Include copyright notice in generated code.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 18 Oct 2020 21:24:36 +0200 |
parents | 132e04b0655d |
children | 9e8c954489f0 |
files | generate/generate.py generate/templates.py |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/generate/generate.py Sat Oct 17 23:50:45 2020 +0200 +++ b/generate/generate.py Sun Oct 18 21:24:36 2020 +0200 @@ -1,4 +1,8 @@ #!/usr/bin/env python3 +# +# (c) 2020 Lewin Bormann <lbo@spheniscida.de> +# +# Please let me know about your use case of this code! import argparse import chevron
--- a/generate/templates.py Sat Oct 17 23:50:45 2020 +0200 +++ b/generate/templates.py Sun Oct 18 21:24:36 2020 +0200 @@ -1,5 +1,13 @@ # General imports and error type. RustHeader = ''' +//! This file was generated by async-google-apis. (https://github.com/dermesser/async-google-apis) +//! +//! (c) 2020 Lewin Bormann <lbo@spheniscida.de> +//! +//! I'd be happy if you let me know about your use case of this code. +//! +//! THIS FILE HAS BEEN GENERATED -- SAVE ANY MODIFICATIONS BEFORE REPLACING. + use serde::{Deserialize, Serialize}; use chrono::{DateTime, Utc}; use anyhow::{Error, Result};