yazd / DKit

DKit is a package to aid developing D programs using Sublime Text 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build overrides package.json

nazriel opened this issue · comments

Greetings.

First of all, big thanks!
Plugin works very well.

Only drawback I noticed so far is the fact that when using plugin on dub project and then runing build cmd, plugin overwrites package.json file with "[]"

Ops! Will look into this today.

Uhmm, which branch are you on? And which build command are you running?
The only time the plugin writes to package.json is when creating a new package file, and it's not even saved automatically.
In dub_project branch, a sublime project file is also written to disk. Besides that the plugin does no file system writes.

Can you provide more information?

@yazd my bad. I used master branch instead of dub-project.
Now it seems to be fine! Thank!

I haven't merged dub-project branch into master as there exists some quirks that aren't yet resolved.
However, either way, using master branch should not do anything to your package.json file.

If you're still facing the issue with either branch, please reopen and notify me.
Thanks.