You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a block that I always want created in the same directory. I can use the -o option but it gets tedious as the directory path is long and constant. Is there a way to default the brick output directory to something else.
Perhaps adding a tag in the mason.yaml file would work.
The text was updated successfully, but these errors were encountered:
Hi @felangel.
Sure. Let's say I have my own global brick called project. I want all projects to create a subdirectory in the same root directory.
Currently, to make a new project I type mason make project -o c:\Users\Robert\OneDrive\Coding\flutter\projects
Since all projects go into the same folder, I'd like to be able to default the output directory so that I don't have to always type the long location name.
One solution would be to add a line in the brick's mason.yaml file. Something like:
default_dir: c:\Users\Robert\OneDrive\Coding\flutter\projects
Then when I run make again, if I don't specify the -o option, it will go in the default output directory instead of the current directory.
Description
I have a block that I always want created in the same directory. I can use the -o option but it gets tedious as the directory path is long and constant. Is there a way to default the brick output directory to something else.
Perhaps adding a tag in the mason.yaml file would work.
The text was updated successfully, but these errors were encountered: