Refer to official website barectf.org
[deliverable/barectf.git] / barectf / tsdl182gen.py
index 991b77031b189a112e1075ab7999affa95fa0c0d..4b948b4c051c81a4c8ec4bdfb1e2140b0c67f01a 100644 (file)
@@ -341,7 +341,31 @@ def from_metadata(meta):
     # version/magic
     cg.add_line('/* CTF 1.8 */')
     cg.add_empty_line()
-    cg.add_line('/*')
+    cg.add_line('''/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2015-2016 Philippe Proulx <pproulx@efficios.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ *
+ * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ *''')
     v = barectf.__version__
     line = ' * The following TSDL code was generated by barectf v{}'.format(v)
     cg.add_line(line)
@@ -349,7 +373,7 @@ def from_metadata(meta):
     line = ' * on {}.'.format(now)
     cg.add_line(line)
     cg.add_line(' *')
-    cg.add_line(' * For more details, see <https://github.com/efficios/barectf>.')
+    cg.add_line(' * For more details, see <http://barectf.org>.')
     cg.add_line(' */')
     cg.add_empty_line()
 
This page took 0.023225 seconds and 4 git commands to generate.