Giter VIP home page Giter VIP logo

mill-giter8's Introduction

mill-giter8's People

Contributors

ckipp01 avatar ckipp01-scala-steward[bot] avatar dependabot[bot] avatar scala-steward avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

scala-steward

mill-giter8's Issues

Properties are not resolved

My default.properties contains these lines:

name=My New Service
module=$name;format="lower,word"$
package=com.zivver.$module$

which results in this output:

$ mill g8.validate
[2/6] g8.generate.overridden.io.kipp.mill.giter8.G8Module.generate
Ignoring unrecognized parameter: module=$name;format
Template applied in [...]

and sets the package property to literally com.zivver.$module$ instead of com.zivver.mynewservice.

G8Module.generate calls G8.transformProps, but all that does is apply Maven version lookups. When it then passes the arguments to G8.fromDirectory, they are treated as literal and they are not resolved. Giter8 itself usually does a more complicated thing which seems to always boil down to applyTemplate.

G8.fromDirectory skips the interactive prompt if at least one property is passed as an argument. I suggest passing just the first property, since it generally ought to be a literal (or is required to be? I'm not sure).

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.