Jump to content

GitHub best practices?


Recommended Posts

Posted

I'm trying to figure out the best way to host extensions on GitHub and make them easy to share/enhance. .alfredextension files get treated as binaries, so for the one workflow I cobbled together I just made the repo out of the folder deep inside Alfred 2's ~/Library/Application Support folder. But when others go to clone that, they can't clone directly to the same folder and have it work because of the way Alfred names those folders, correct? What do you guys and gals think?

Posted

I personally don't see the need to clone a workflow directly into Alfred's Workflow directory (if you download from dropbox or cloudapp the file would end up in whatever your donwloads folder is either). I keep a seperate directory as my git repository where I export any intermediate or finished workflow or extension of my own to. Also I keep a "src" folder there for my non-binary source code as well as a resource folder, etc.

 

For workflows from other people I keep another separate directory that holds a directory for each workflow, in case it's github hosted the individual workflow folder holds the git repo, too.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...