Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .dub directory in dub generate visuald if not exists #1673

Closed
enjoysmath opened this issue Mar 20, 2019 · 4 comments
Closed

Create .dub directory in dub generate visuald if not exists #1673

enjoysmath opened this issue Mar 20, 2019 · 4 comments
Labels
enhancement good first issue Good for newcomers to fix in a PR

Comments

@enjoysmath
Copy link

c:\Users\FruitfulApproach\Desktop\dlang\myproject>dub generate visuald
Cannot open file .dub\myproject.visualdproj' in mode wb' (No such file or directory)

After doing 'dub init myproject' in parent dir.

So how can we get this to work? No .dub folder is generated.

@p0nce
Copy link
Contributor

p0nce commented Apr 14, 2019

(work-around) Perhaps try to type dub build before dub generate visuald

@WebFreak001 WebFreak001 changed the title Dub generate visuald doesn't work (can't find .dub/name.visualdproj) Create .dub directory in dub generate visuald if not exists Apr 29, 2019
@WebFreak001 WebFreak001 added enhancement good first issue Good for newcomers to fix in a PR labels Apr 29, 2019
@WebFreak001
Copy link
Member

this doesn't seem to happen on every project (I couldn't make it break with a vibe.d project after deleting .dub) but when it's run in a freshly created project it's easily reproducible

@Imperatorn
Copy link

dub needs some love

Geod24 pushed a commit that referenced this issue Nov 17, 2020
@Geod24
Copy link
Member

Geod24 commented Nov 17, 2020

Fixed

@Geod24 Geod24 closed this as completed Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Good for newcomers to fix in a PR
Projects
None yet
Development

No branches or pull requests

5 participants