mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-27 21:47:22 +01:00 
			
		
		
		
	scripts/supybot-plugin-create: Fix #721 .
* README template is now cut to two lines for easier reading in non-word wrapping text editors on normal terminal size. * README is now saved as `README.md` instead of `README.txt`.
This commit is contained in:
		
							parent
							
								
									fa06f2af34
								
							
						
					
					
						commit
						94feaa5faf
					
				| @ -204,7 +204,8 @@ class %sTestCase(PluginTestCase): | ||||
| '''.lstrip() | ||||
| 
 | ||||
| readmeTemplate = ''' | ||||
| Insert a description of your plugin here, with any notes, etc. about using it. | ||||
| Insert a description of your plugin here, with any notes, etc. about  | ||||
| using it. | ||||
| '''.lstrip() | ||||
| 
 | ||||
| def main(): | ||||
| @ -288,7 +289,7 @@ def main(): | ||||
|                                              name)) | ||||
|     writeFile('__init__.py', __init__Template % (copyright, name)) | ||||
|     writeFile('test.py', testTemplate % (copyright, name, name)) | ||||
|     writeFile('README.txt', readmeTemplate) | ||||
|     writeFile('README.md', readmeTemplate) | ||||
| 
 | ||||
|     pathname = os.path.join(pathname, 'local') | ||||
|     os.mkdir(pathname) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mikaela Suomalainen
						Mikaela Suomalainen