[gnome-builder] snippets: add gpl/lgpl snippets for python and vala
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] snippets: add gpl/lgpl snippets for python and vala
- Date: Tue, 18 Nov 2014 02:56:15 +0000 (UTC)
commit 183eaba6a1c526624d91c25056af86d41935ea7e
Author: Christian Hergert <christian hergert me>
Date: Mon Nov 17 18:56:09 2014 -0800
snippets: add gpl/lgpl snippets for python and vala
src/resources/gnome-builder.gresource.xml | 2 +
src/resources/snippets/python.snippets | 36 +++++++++++++++++++++++++++
src/resources/snippets/vala.snippets | 38 +++++++++++++++++++++++++++++
3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/gnome-builder.gresource.xml b/src/resources/gnome-builder.gresource.xml
index 4d8584d..b31039e 100644
--- a/src/resources/gnome-builder.gresource.xml
+++ b/src/resources/gnome-builder.gresource.xml
@@ -17,6 +17,8 @@
<file>snippets/c.snippets</file>
<file>snippets/chdr.snippets</file>
+ <file>snippets/python.snippets</file>
+ <file>snippets/vala.snippets</file>
<file>ui/gb-command-bar.ui</file>
<file>ui/gb-command-bar-item.ui</file>
diff --git a/src/resources/snippets/python.snippets b/src/resources/snippets/python.snippets
new file mode 100644
index 0000000..568debb
--- /dev/null
+++ b/src/resources/snippets/python.snippets
@@ -0,0 +1,36 @@
+snippet gpl
+ # ${1:$filename}
+ #
+ # Copyright (C) $year ${2:$fullname} <${3:$email}>
+ #
+ # This program is free software: you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation, either version 3 of the License, or
+ # (at your option) any later version.
+ #
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+ $0
+snippet lgpl
+ # ${1:$filename}
+ #
+ # Copyright (C) $year ${2:$fullname} <${3:$email}>
+ #
+ # This file is free software; you can redistribute it and/or modify it
+ # under the terms of the GNU Lesser General Public License as
+ # published by the Free Software Foundation; either version 3 of the
+ # License, or (at your option) any later version.
+ #
+ # This file is distributed in the hope that it will be useful, but
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ # Lesser General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+ $0
diff --git a/src/resources/snippets/vala.snippets b/src/resources/snippets/vala.snippets
new file mode 100644
index 0000000..33d80da
--- /dev/null
+++ b/src/resources/snippets/vala.snippets
@@ -0,0 +1,38 @@
+snippet gpl
+ /* ${1:$filename}
+ *
+ * Copyright (C) $year ${2:$fullname} <${3:$email}>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+ $0
+snippet lgpl
+ /* ${1:$filename}
+ *
+ * Copyright (C) $year ${2:$fullname} <${3:$email}>
+ *
+ * This file is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+ $0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]