From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • SSH
  • HTTPS

ethna: Commit


Commit MetaInfo

Revision879 (tree)
Zeit2009-06-20 21:48:08
Autormumumu-org

Log Message

- changed default plugin base directory name.
- changed help messsage of create-plugin command.

Ändern Zusammenfassung

Diff

--- ethna/trunk/class/Plugin/Generator/CreatePlugin.php (revision 878)
+++ ethna/trunk/class/Plugin/Generator/CreatePlugin.php (revision 879)
@@ -32,7 +32,7 @@
3232 function &generate($basedir, $types = array(), $no_ini = false, $plugin_name)
3333 {
3434 // create plugin directory
35- $plugin_dir = "$basedir/$plugin_name";
35+ $plugin_dir = "$basedir/plugin";
3636 if (!file_exists($plugin_dir)) {
3737 Ethna_Util::mkdir($plugin_dir, 0755);
3838 } else {
--- ethna/trunk/class/Plugin/Handle/CreatePlugin.php (revision 878)
+++ ethna/trunk/class/Plugin/Handle/CreatePlugin.php (revision 879)
@@ -80,7 +80,7 @@
8080 function getUsage()
8181 {
8282 return <<<EOS
83-ethna {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--noini] plugin-name
83+ethna {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--no-inifile] plugin-name
8484 type is as follows (separated by comma):
8585 f = Filter (default),
8686 v = Validator (default),
@@ -99,7 +99,7 @@
9999 {
100100 return <<<EOS
101101 make plugin package:
102- {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--noini] plugin-name
102+ {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--no-inifile] plugin-name
103103 EOS;
104104 }
105105 // }}}
Show on old repository browser