Coder Social home page Coder Social logo

kompositor's Introduction

Kompositor

Build Status

A project templating/bootstrapping engine

Project goal: instead of focusing on different project "archetypes" or "categories", like Maven Archetypes (or Lazybones, or Yeoman, or New Project in IntellijIDEA) do, this application allows you to take very basic project (e.g. gradle-kotlin) and apply some "layers" on it. Layers would be typically various frameworks with dependencies, e.g. JUnit for testing or Jackson for JSON or whatever. Applying different layers allows you to get pre-configured project with all dependencies in buildscript out-of-the-box, more like Spring Initializr - however, latter has one big disadvantage. It (surprisingly) works only with Spring.

Example usage

kompositor create <templateName> with <layer1,layer2,...> called <projectName> [optionalParams]

Create project called 'MyKotlinApp' based on gradle with junit:

kompositor create gradle-kotlin with junit called MyKotlinApp

You can specify output folder with --outdir:

kompositor create gradle-kotlin with junit called MyKotlinApp --outdir="test" # Create in test

Template variables can be overridden with -Vkey=value:

kompositor create gradle-kotlin with junit called MyKotlinApp -Vkotlin.version=1.1.50

Repeated and default config can be written in ~/.kompositor.yml. It will be resolved last.

group: top.sandwwraith
version: 0.1-SNAPSHOT
kotlin.version: 1.2.10
author.email: [email protected]

You can specify another config file with higher priority via -c.

Available templates and layers can be discovered via kompositor templates and kompositor layers , correspondingly. By default, they're located in kompositor/templates and kompositor/layers repositories.

Installation

You can download latest .zip from releases page. Unpack it and add bin/kompositor (bin/kompositor.bat for Windows) to your path.

kompositor's People

Contributors

sandwwraith avatar utikeev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.