ceylon / ceylon-common

DEPRECATED
Apache License 2.0
14 stars 9 forks source link

Support `SCRIPT` and `SCRIPT_DIR` variables in plugin scripts #47

Closed quintesse closed 10 years ago

quintesse commented 10 years ago

The plugin scripts could use a couple of extra variables to be even more useful: SCRIPT and SCRIPT_DIR. The former is the absolute path to the script we're currently executing and the latter is the folder it's in (to make it easy to get to support files in the same folder).