Skip to content

Commit

Permalink
use MIT license
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Jun 27, 2024
1 parent d94ce13 commit 42fcf07
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 869 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ class MostFileSystemHelper {
«phpFileHeaderImpl»
*
* @version «generatedBy(timestampAllGeneratedFiles || isBootstrapFile, versionAllGeneratedFiles || isBootstrapFile
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ package org.zikula.modulestudio.generator.cartridges.symfony.smallstuff

import de.guite.modulestudio.metamodel.Application
import org.zikula.modulestudio.generator.application.IMostFileSystemAccess
import org.zikula.modulestudio.generator.cartridges.symfony.smallstuff.documents.License_GPL
import org.zikula.modulestudio.generator.cartridges.symfony.smallstuff.documents.License_LGPL
import org.zikula.modulestudio.generator.cartridges.symfony.smallstuff.documents.License_MIT
import org.zikula.modulestudio.generator.cartridges.symfony.smallstuff.techdocs.TechComplexity
import org.zikula.modulestudio.generator.cartridges.symfony.smallstuff.techdocs.TechStructure
import org.zikula.modulestudio.generator.extensions.FormattingExtensions
Expand Down Expand Up @@ -165,16 +164,8 @@ class Docs {
'''
def private License(Application it) '''
«IF license == 'http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License'
|| license == 'GNU Lesser General Public License'
|| license == 'Lesser General Public License'
|| license == 'LGPL'»
«new License_LGPL().generate(it
«ELSEIF license == 'http://www.gnu.org/copyleft/gpl.html GNU General Public License'
|| license == 'GNU General Public License'
|| license == 'General Public License'
|| license == 'GPL'»
«new License_GPL().generate(it
«IF license == 'MIT'»
«new License_MIT().generate(it
«ELSE»
Please enter your license text here.
«ENDIF»
Expand Down
Loading

0 comments on commit 42fcf07

Please sign in to comment.