Comments (16)
I may take a stab at this one. This same issue bit me already with jquery js files in my template which have a pretty pervasive use of $ which string template loves to bite at.
What do you think of about another name for that file though. I like the analogy to .gitignore
but its really not ignoring them, it's just not process/parsing them. Its already ignoring parsing image files without an explicit declaration. What are some good alternatives. .g8noparse
, .g8pass
? wdyt @n8han?
from giter8.
it might make sense to have this in template.properties, as a property
from giter8.
skipping template may still be useful, but I just added a workaround for charset issue like keystore.jks. see #26
from giter8.
I would like to try to latest version in GitHub. What is the best way to make consript use latest version of giter8 in GitHub?
from giter8.
Here's what I do.
steps
- install sbt 0.11
git pull
sbt "project app" +publish-local
cs n8han/giter8/0.2.3-SNAPSHOT
cs --clean-boot
g8
from giter8.
I could not publish-local because of this error:
sbt.ResolveException: unresolved dependency: org.scala-tools.sbt#launcher-interface;0.7.4: not found
from giter8.
I guess I had that jar in my cache and didn't notice that it required additional resolver. Fixed it and pushed it.
from giter8.
Thank you.
Now there's no more error when running g8 ngocdaothanh/xitrum.
from giter8.
So do we still need ignoring feature since binaries can be skipped via try { UTF-8 } catch
?
from giter8.
It could be the difference between a warning and silence.
from giter8.
Like @softprops said above, I think this feature is still very useful for text files. A config entry in the default.properties is neat.
from giter8.
I have an implementation ready..
verbatim=*.html *.jpg
Can I push it?
from giter8.
Sounds good to me.
from giter8.
verbatim is asked for when I run the command:
g8 ngocdaothanh/xitrum
I think g8 should not asked for it.
from giter8.
To clarify @ngocdaothanh
steps
- run
$ g8 ngocdaothanh/xitrum
- g8 prompts the following:
New Xitrum project (http://ngocdaothanh.github.com/xitrum)
name [my_project]: my_project
verbatim [*]:
Applied ngocdaothanh/xitrum.g8 in my_project
problem
the end user is asked about verbatim
's value
expectation
I am guessing that you wanted verbatim
omitted from the prompting
from giter8.
Yes, that's clear.
I think verbatim is designed specially by the template author, there's no point in letting users customize it.
from giter8.
Related Issues (20)
- Github Pages doesn't get updated HOT 5
- 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
- Template project code is not compiled during `test` HOT 4
- Allow specifying properties with arguments even if default resolution fails
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.