Comments (12)
This is deliberate to allow the dist folder to be its own git repository
for deployment purposes. You can still adjust the behavior in the
Gruntfileif you like.
On Mar 20, 2013 6:54 PM, "Thanos Lefteris" [email protected] wrote:
- Started with the files generated by webapp I did a build
- I removed the .htaccess, from my app folder and Gruntfile copy task
config- After a build, .htaccess is still in the dist forder
—
Reply to this email directly or view it on GitHubhttps://github.com/yeoman/generator-webapp/issues/37
.
from generator-webapp_deprecated.
Could this be made more explicit, with a comment maybe? Or even better a rule to exclude just the .git dir/files?
Also what I will need to change in Gruntfile to remove the dotfiles? Thanks.
from generator-webapp_deprecated.
You could change the dist: ['.tmp', '<%= yeoman.dist %>/*']
to dist: ['.tmp', '<%= yeoman.dist %>']
for the clean task (removing just the whole dist directory instead of just the non-hidden files inside).
@sindresorhus Do you think a comment would be helpful here?
from generator-webapp_deprecated.
@passy I would rather find a way to clean out everything except for .git
. Any ideas?
from generator-webapp_deprecated.
.gitignore would also be useful.
On Mar 22, 2013 12:49 AM, "Sindre Sorhus" [email protected] wrote:
@passy https://github.com/passy I would rather find a way to clean out
everything except for .git. Any ideas?—
Reply to this email directly or view it on GitHubhttps://github.com/yeoman/generator-webapp/issues/37#issuecomment-15273576
.
from generator-webapp_deprecated.
yup
from generator-webapp_deprecated.
This works.
clean: {
dist: {
files: [{
dot: true,
src: [
'dist/*',
'!dist/.git*'
]
}]
}
}
from generator-webapp_deprecated.
@kevva feel free to do that update directly ;)
from generator-webapp_deprecated.
Yep, done :)))))).
from generator-webapp_deprecated.
@kevva awesome, thanks for doing this. Keep em coming :D
Tip: use fixes #ticketnumber
in commits to close issues directly from the commit and create a reference between them.
Fixed in yeoman/generator-webapp@7616dc4
from generator-webapp_deprecated.
@kevva could you do the same on generator-angular?
from generator-webapp_deprecated.
@sindresorhus, I'm on it.
from generator-webapp_deprecated.
Related Issues (20)
- To many node modules ? HOT 1
- Livereload and mocha HOT 2
- Cannot press space to select HOT 1
- Configure generator-webapp to use SSL HOT 6
- apple-touch-icon.png is not optimized in imagemin HOT 1
- Additional Bower dependencies HOT 2
- Add option to CSSNext HOT 1
- grunt-contrib-imagemin version should be updated HOT 1
- Problem with default configuration of gruntfile HOT 2
- Building the dist : 'Fatal error: Cannot read property 'contents' of undefined' HOT 6
- problems installing compass & susy in webapp yeoman generator. HOT 4
- required module don't install automatically HOT 1
- My css file in the dist folder is empty HOT 1
- add_import_path to fix compass warning HOT 2
- Deprecation of generator-webapp but it was still include in Getting started instruction in Yeoman HOT 3
- concat target doesn't consolidate babel output HOT 2
- Cannot grunt build app without running into errors HOT 5
- Assemble recipe error HOT 2
- Add receipes to yeoman generator HOT 3
- DEPRECATION NOTICE
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 generator-webapp_deprecated.