seu-as-code / seu-as-code.plugins

The Gradle plugins for SEU-as-code.
Apache License 2.0
28 stars 10 forks source link

Add convenient multi-platform shortcut creation #39

Closed 0xqab closed 7 years ago

0xqab commented 7 years ago

Currently many QAware-private packages include Groovy hooks using Scriptom/ActiveX/wshShell to create Windows shortcuts. It would be great if the base-plugin would provide a platform independant function to create shortcuts in the SEU root folder.

ghost commented 7 years ago

Your issue doesn't follow our guidelines. Please fix the following:

Click here for details.

Thank you! :pray: This comment was made by GitMagic – Magically enforcing your contribution guidelines.

0xqab commented 7 years ago

@gitmagic-bot It looks like I do not have the rights to set labels to issues, so this rule is pointless.

ghost commented 7 years ago

Thank you, everything looks good now! :bowtie:

lreimer commented 7 years ago

Added shortcut.create('Name', 'executable') object and method as hook variable. Depending on the operating system either a Windows shortcut or a symlink will be created.