Comments (10)
The convention for that is to put a .gitkeep
file in the folder you want to keep. Could definitely recurse though all the folders removing any leftover .gitkeep
s.
from skelmimosa.
Oh yeah, that's nice. I didn't knew about the .gitkeep until now, thanks!
So I agree that it's best to do it that way, since it's gits internal system.
But since it may take some time to process all folders, maybe it should be optional?
So those Skeletons that don't use the feature won't trigger a recursive scan of all subfolders.
from skelmimosa.
For skeletons it doesn't really take much time at all. You'd have to have a huge skeleton for it to take more than a second.
from skelmimosa.
Sounds nice. You agree with the feature being useful or should everyone just do it by himself for the Skeletons that use this kind of feature? I'm planning to do some future work with it but I would enjoy not asking my users to do it by theirself.
from skelmimosa.
It is definitely preferable to remove the .gitkeep
files that would be necessary to deliver empty directories.
from skelmimosa.
I take that as a yes to implement it into Mimosa. =)
Do you need any more information or is this enough?
from skelmimosa.
I'm good. =) And yeah, it makes total sense.
from skelmimosa.
Added this to skelmimosa, pushed to npm and bumped version of skelmimosa in use for mimosa, pushed that too.
from skelmimosa.
Wow! Awesome.
Will put in some .gitkeep into my Marionette-Skeleton and test it out.
Just curious: Did you test this? There is no skeleton using .gitkeep as far as I have seen.
from skelmimosa.
I tested with local repo. You can do a mimosa skel:new /foo/bar/baz foldeName
to test skeletons locally. Scanning the directory and removing .gitkeeps
is sort of ignorant of how the directory got there, so it should be fine via GH hosted skeletons.
from skelmimosa.
Related Issues (15)
- Unpublish mimosa-skeleton from npm HOT 1
- Node Error? HOT 2
- Create and maintain 2.x skeleton registry HOT 5
- Marionette Skeleton HOT 3
- An angularjs+karma skeleton HOT 7
- Unexpected Artifacts HOT 2
- Automatically run npm install inside the project directory
- Typo (missing bug)
- Target Directory HOT 11
- git is not recognized from windows command prompt HOT 4
- Unable to fully remove .git folder on Windows HOT 3
- legal ...? HOT 2
- sample simple ember app HOT 10
- basic node.js npm project skeleton? HOT 3
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 skelmimosa.