marcisme / sketch-preview

Sketch plugin to preview mockups in Skala Preview
MIT License
611 stars 37 forks source link

No need to create a install script #9

Closed jelias closed 10 years ago

jelias commented 10 years ago

Hey Marc,

Sorry to kill your code, but there is no reason to write an install script. If you save the plugin in the .sketchplugin extension like mine Sketch will automatically move the plugin to it's proper spot when double-clicked.

Jake

marcisme commented 10 years ago

Thanks for letting me know. I'll rename and update the install instructions accordingly.

For me personally, I map a key binding in my editor to save the plugin and run the install script, so I have to do do as little as possible to test changes while I'm developing.

jelias commented 10 years ago

Sorry to re-open this but, you can also directly edit the .sketchplugin file's code, and when you save the file, you can instantly test the plugin. That's how I do it.

marcisme commented 10 years ago

No problem. It's always good to know what our options are.

I've done symlinks, and I've tried editing the plugin in place, then copying it back to my source location. However I tend to make a lot of small commits, so working out of the source directory and copying out works best for me. Also since I'm supporting Sketch 2 for now, being able to copy to both locations at the same time is useful.