qulogic/gplugin

move the moonscript plugins to moonscript-plugins directory
feature/fix-lua-tests-die-without-moonscript
2015-06-30, Gary Kramlich
5613a5995400
Parents 5a00fbec31f5
Children b6c9d19a6bf4
move the moonscript plugins to moonscript-plugins directory
--- a/lua/tests/lua-plugins/basic.moon Tue Jun 30 11:55:29 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
--- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
---
--- This library 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 2 of the License, or (at your option) any later version.
---
--- This library 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 Lesser General Public
--- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-
-lgi = require 'lgi'
-GPlugin = lgi.GPlugin
-
-export gplugin_query = ->
- return GPlugin.PluginInfo {
- id: "gplugin/moon-basic-plugin",
- abi_version: 0x01020304,
- name: "basic plugin",
- category: "test",
- version: "version",
- license_id: "license",
- summary: "summary",
- description: "description",
- authors: { "author1" },
- website: "website"
- }
-
-export gplugin_load = ->
- return true
-
-
-export gplugin_unload = ->
- return true
-
--- a/lua/tests/lua-plugins/dependent.moon Tue Jun 30 11:55:29 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
--- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
---
--- This library 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 2 of the License, or (at your option) any later version.
---
--- This library 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 Lesser General Public
--- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-
-lgi = require 'lgi'
-GPlugin = lgi.GPlugin
-
-export gplugin_query = ->
- return GPlugin.PluginInfo {
- id: "gplugin/moon-dependent-plugin",
- dependencies: {"dependency1", "dependency2"}
- }
-
-export gplugin_load = ->
- return false
-
-
-export gplugin_unload = ->
- return false
--- a/lua/tests/lua-plugins/load-exception.moon Tue Jun 30 11:55:29 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
--- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
---
--- This library 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 2 of the License, or (at your option) any later version.
---
--- This library 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 Lesser General Public
--- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-
-lgi = require 'lgi'
-GPlugin = lgi.GPlugin
-
-export gplugin_query = ->
- return GPlugin.PluginInfo {
- id: "gplugin/moon-load-exception"
- }
-
-export gplugin_load = ->
- error("explode")
- return false
-
-
-export gplugin_unload = ->
- return false
--- a/lua/tests/lua-plugins/load-failed.moon Tue Jun 30 11:55:29 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
--- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
---
--- This library 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 2 of the License, or (at your option) any later version.
---
--- This library 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 Lesser General Public
--- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-
-lgi = require 'lgi'
-GPlugin = lgi.GPlugin
-
-export gplugin_query = ->
- return GPlugin.PluginInfo {
- id: "gplugin/moon-load-failed"
- }
-
-
-export gplugin_load = ->
- return false
-
-
-export gplugin_unload = ->
- return true
--- a/lua/tests/lua-plugins/unload-failed.moon Tue Jun 30 11:55:29 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
--- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
---
--- This library 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 2 of the License, or (at your option) any later version.
---
--- This library 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 Lesser General Public
--- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-
-lgi = require 'lgi'
-GPlugin = lgi.GPlugin
-
-export gplugin_query = ->
- return GPlugin.PluginInfo {
- id: "gplugin/moon-unload-failed"
- }
-
-
-export gplugin_load = ->
- return true
-
-
-export gplugin_unload = ->
- return false
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lua/tests/moonscript-plugins/basic.moon Tue Jun 30 11:56:06 2015 -0500
@@ -0,0 +1,39 @@
+-- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
+--
+-- This library 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 2 of the License, or (at your option) any later version.
+--
+-- This library 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 Lesser General Public
+-- License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+lgi = require 'lgi'
+GPlugin = lgi.GPlugin
+
+export gplugin_query = ->
+ return GPlugin.PluginInfo {
+ id: "gplugin/moon-basic-plugin",
+ abi_version: 0x01020304,
+ name: "basic plugin",
+ category: "test",
+ version: "version",
+ license_id: "license",
+ summary: "summary",
+ description: "description",
+ authors: { "author1" },
+ website: "website"
+ }
+
+export gplugin_load = ->
+ return true
+
+
+export gplugin_unload = ->
+ return true
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lua/tests/moonscript-plugins/dependent.moon Tue Jun 30 11:56:06 2015 -0500
@@ -0,0 +1,30 @@
+-- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
+--
+-- This library 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 2 of the License, or (at your option) any later version.
+--
+-- This library 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 Lesser General Public
+-- License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+lgi = require 'lgi'
+GPlugin = lgi.GPlugin
+
+export gplugin_query = ->
+ return GPlugin.PluginInfo {
+ id: "gplugin/moon-dependent-plugin",
+ dependencies: {"dependency1", "dependency2"}
+ }
+
+export gplugin_load = ->
+ return false
+
+
+export gplugin_unload = ->
+ return false
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lua/tests/moonscript-plugins/load-exception.moon Tue Jun 30 11:56:06 2015 -0500
@@ -0,0 +1,30 @@
+-- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
+--
+-- This library 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 2 of the License, or (at your option) any later version.
+--
+-- This library 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 Lesser General Public
+-- License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+lgi = require 'lgi'
+GPlugin = lgi.GPlugin
+
+export gplugin_query = ->
+ return GPlugin.PluginInfo {
+ id: "gplugin/moon-load-exception"
+ }
+
+export gplugin_load = ->
+ error("explode")
+ return false
+
+
+export gplugin_unload = ->
+ return false
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lua/tests/moonscript-plugins/load-failed.moon Tue Jun 30 11:56:06 2015 -0500
@@ -0,0 +1,30 @@
+-- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
+--
+-- This library 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 2 of the License, or (at your option) any later version.
+--
+-- This library 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 Lesser General Public
+-- License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+lgi = require 'lgi'
+GPlugin = lgi.GPlugin
+
+export gplugin_query = ->
+ return GPlugin.PluginInfo {
+ id: "gplugin/moon-load-failed"
+ }
+
+
+export gplugin_load = ->
+ return false
+
+
+export gplugin_unload = ->
+ return true
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lua/tests/moonscript-plugins/unload-failed.moon Tue Jun 30 11:56:06 2015 -0500
@@ -0,0 +1,30 @@
+-- Copyright (C) 2011-2014 Gary Kramlich <grim@reaperworld.com>
+--
+-- This library 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 2 of the License, or (at your option) any later version.
+--
+-- This library 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 Lesser General Public
+-- License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+lgi = require 'lgi'
+GPlugin = lgi.GPlugin
+
+export gplugin_query = ->
+ return GPlugin.PluginInfo {
+ id: "gplugin/moon-unload-failed"
+ }
+
+
+export gplugin_load = ->
+ return true
+
+
+export gplugin_unload = ->
+ return false