Comments (5)
Is there any new progress? I think this might not be an easy question
Haven't gotten to this yet but you can add a .gitkeep
to the empty directory in the meantime.
from mason.
Is there any new progress? I think this might not be an easy question
Haven't gotten to this yet but you can add a
.gitkeep
to the empty directory in the meantime.
In addition, a post gen hook can be added to remove all .gitkeep
files
from mason.
Is there any new progress?
I think this might not be an easy question
from mason.
"Hi @felangel, I have two empty folders in my project, namely lib/config/
and lib/core
. However, I tried using .gitkeep
to create them, but the folders were not generated. How can I create empty directories like lib/config
? Keep in mind that the config
folder may have subfolders that should be initially empty."
from mason.
"Hi @felangel, I have two empty folders in my project, namely
lib/config/
andlib/core
. However, I tried using.gitkeep
to create them, but the folders were not generated. How can I create empty directories likelib/config
? Keep in mind that theconfig
folder may have subfolders that should be initially empty."
I've had the same issue but just opted to create them in the postgen hook. Slower, but works the same.
from mason.
Related Issues (20)
- feat: support conditional prompting for variables HOT 6
- feat: include `prompt` style in `LogTheme`
- fix: Extra line with condition statement HOT 5
- feat: hook resource sharing
- perf: Generating files from a list which is not a simple string rather a List<Map<String, dynamic>> takes over 30 minutes HOT 2
- feat: simplify relying on defaults when using `mason make` in CI HOT 2
- fix: Generating files from array not working HOT 6
- fix: Crash with "StreamSink is bound to stream" HOT 5
- fix: mason_logger does not handle `stdin.hasTerminal` being false
- fix: The getter 'STD_HANDLE' isn't defined for the class 'WindowsTerminal'. HOT 8
- Failing to activate mason_cli after upgrading to mason_cli: ^0.1.0-dev.54 HOT 1
- feat: set default output directory HOT 3
- feat: ask to overwrite or not for duplicate brick name
- feat: Retain colors across process boundary HOT 2
- fix: `Isolate.spawnUri()` does not contain a valid AOT snapshot on script compiled with `dart compile exe` HOT 5
- feat: Mirror logger output to a file
- FileSystemException: Creation failed. (OS Error: File name too long, errno = 63) HOT 2
- fix: mason_logger is not working properly when it reaches to the end of terminal HOT 8
- fix: Brick.git not generating windows HOT 1
- I cannot publish my mason brick HOT 2
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 mason.