Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

implementation for the refresh resource bundles #765

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KoenVM
Copy link

@KoenVM KoenVM commented Feb 15, 2016

As the refresh resource bundle wasn't implemented I quickly made this.

Maybe not the nicest solution but works for now.

Maybe not the nicest solution but works for now.
@@ -955,6 +956,13 @@ class RefreshResourceBundleCommand(sublime_plugin.WindowCommand):
def run(self, dirs, files):
if sublime.ok_cancel_dialog("This command will refresh the resource bundle(s) based on your local project's corresponding static resource(s). Do you wish to continue?", "Refresh"):
#TODO: adapter refresh
for dr in dirs:
shutil.rmtree(dr)
dir_last_part=dr.split("\\")[-1]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this call cross-platform?

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

Successfully merging this pull request may close these issues.

2 participants