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

"Update Project" reads package_file from user settings, not project settings #43

Open
TheGag96 opened this issue May 3, 2017 · 2 comments

Comments

@TheGag96
Copy link

TheGag96 commented May 3, 2017

I made a new project with a dub.sdl file and attempted to run "Update Project" and was told "The active project does not specify the path to the DUB package file." My project file looks like this:

{
	"package_file": "$project_path/dub.sdl"
}

Yet, if I put this setting in my settings file, it starts reading from there (though the $project_path thing obviously doesn't work). Could you perhaps take a look at this? Thanks!

@yazd
Copy link
Owner

yazd commented May 6, 2017

I have just pushed a commit to allow relative paths for package_file, and fixed some things related to Update Project.

Can you try having something similar to the following JSON?

{
	"settings":
	{
		"package_file": "dub.sdl"
	}
}

@TheGag96
Copy link
Author

Sorry to be a month late, but this does work. Here's what it looks like after I update my project. I assume this is what it's supposed to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants