Comments (4)
I noticed this, too. The plugin seems to use the scripted
plugin, but I don't yet understand how, or why it doesn't do its job. (Having difficulties getting sbt
running in debug in IDEA.)
from giter8.
test
does more if you first run Test / g8
, which creates the src/sbt-test/template-name.g8/scripted
directory, filled out with an instantiation of your template.
I'm not sure yet why this is necessary, since
scriptedDependencies := { val x = (Test / g8).value }
scriptedDependencies
has no description, so I suspect that it wasn't intended to be used this way.
from giter8.
I discovered that the scriptedDependencies
that's defined in Giter8Plugin
isn't being used; sbt test
is using the one defined in ScriptedPlugin
instead.
This seems to be resolved by using
.enablePlugins(Giter8Plugin)
instead of the .enablePlugins(ScriptedPlugin)
that g8 foundweekends/giter8.g8
generates into build.sbt
βin fact, it works just as well to remove this line entirely. This also causes the sbt-scripted scenario to be generated in target/sbt-test/
instead of in src/sbt-test/
, which seems more appropriate.
I haven't gotten a completely clean run yet, but that seems to be because of an error in my template. But the above so far seems to fix your issue.
from giter8.
@eed3si9n I think this issue requires some attention, as apparently now all the g8Test are no-ops. Following the findings of @performantdata, I've been able to determine that this has been introduced between sbt 1.9.6 and 1.9.7. Here's the diff.
from giter8.
Related Issues (20)
- Issue maintenance HOT 4
- Incorrect line-breaks in description property with manual line-breaks HOT 1
- Folder Template does not work properly on Windows HOT 4
- log4j errors when installed as bootstrap's sh HOT 1
- g8Test does not respect custom resolvers HOT 1
- Backstage + giter8 HOT 2
- Auth fail on sbt new HOT 2
- Support for Dynamic inputs from user
- Error with literals in json and sbt file
- Would it be possible to get a new release cut? HOT 2
- Template Not Found Error With Custom Template in a Multi Module Project
- Running scaffolds using the g8 command line tool
- A new release HOT 3
- Post Creation Hook
- Maven property resolves to a stale version HOT 3
- g8 template cant generate template on powershell
- Images are corrupted during local testing
- Allow specifying properties with arguments even if default resolution fails
- Can't pull a private repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giter8.