zhaocai / alfred2-ruby-template

Alfred 2 Workflow Ruby Template
http://zhaocai.github.com/alfred2-ruby-template/
144 stars 37 forks source link

Export workflow #10

Closed ramiroaraujo closed 1 year ago

ramiroaraujo commented 10 years ago

Another features:

  1. more config options in config.yml, and updates on info.plst
  2. possibility to export workflow as id.alfredworkflow file, cleaning up first for un-needed files

It slightly collides with previous pull request because it also has the bundle -> /usr/bin/bundle change; it should need manual merge, but should be painless

Cheers!

zhaocai commented 10 years ago

Thanks. Sorry for the late response. I did not check any code for a month.

I use bundle instead of /usr/bin/bundle so that people can use the active ruby instead of the system ruby. if the system ruby is active, then /usr/bin/bundle is called.

About exporting the workflow, I usually just open alfred preferences and export the workflow there. It won't save too much time by doing it in the console.

ramiroaraujo commented 10 years ago

:) I ended up working on my own template, although heavily based on yours, basically because it diverged a lot, specially on ruby version management. Check it out if you want: https://github.com/ramiroaraujo/alfred-ruby-template

On the export option, I do a lot of cleanup in the export task, so I find it really useful, since the final package is quite smaller. If you export from Alfred, you end up with everything, tests, source code for native extensions, etc.

Cheers!