lifepillar / ASMake

An AppleScript build library
10 stars 3 forks source link

Questions #2

Open craibuc opened 10 years ago

craibuc commented 10 years ago

Can ASMake be configured to do any of these tasks?

lifepillar commented 10 years ago

There is currently no predefined task or handler to do what you are asking for. I have a working draft of a makeScriptBundle() handler that builds arbitrarily complex script bundles including resources and script libraries, but that is not published yet. Getting feedback is always motivating, so now I need to find some time to finish that!

A task for assigning an icon is a good idea, too.

craibuc commented 10 years ago

Perhaps you should label this thread as an enhancement.

lifepillar commented 9 years ago

I have pushed an update of ASMake to master, which should partially address your issues. Namely, your second point: now, there are two handlers (makeScriptBundle and makeApplication) that allow you to build script bundles and applications from source, which may include resources, auxiliary scripts and embedded script libraries (that can recursively be built from source). See the documentation of the _buildScript() handler for the details. Currently, plist files must be created manually, but I plan to add some plist generation handler. Adding custom icons to documents is also on my list of things to do soon. Finally, note that many non-backward compatible changes have happened recently in ASMake. In particular, now OS X Yosemite is required.

lifepillar commented 9 years ago

I don't recommend trying ASMake right now, as there are still some serious bugs that could cause data loss.

lifepillar commented 9 years ago

I have added a setIcon() handler to set a custom icon for a file or directory. This should address your first point.