Jump to content

Recommended Posts

I think we have another thread on the forum about it. The answer is “no”. If even us — who are the ones who share the most Workflows and share ideas — don’t have a common directory structure, there’s little chance a “recommended” method would emerge.


But if you’re undecided about which directory structure to use, we can discuss it. If I shared one Workflow per repo, I’d do it the way I do for my standalone apps, like Fog: on the root have an app or source directory which contains what is necessary to build the project (i.e. the code people will use), and everything else on the root are support files and directories, such as documentation.

Share this post


Link to post

I have one workflow per repo so I can use GitHub releases for updates.

 

Fundamentally, I have a subdirectory with the actual workflow contents (that I can symlink or copy to Alfred’s workflow directory).

 

In the case of scripting languages, this is called “src”,  and I have the README, licence and probably the built workflow in the repo root.

 

In the case of compiled languages (Go in my case), the “build” subdirectory is what gets linked to Alfred’s workflow directory. The top-level contains code and build scripts (as is normal with Go).

Share this post


Link to post
5 hours ago, deanishe said:

I have one workflow per repo so I can use GitHub releases for updates.

 

Fundamentally, I have a subdirectory with the actual workflow contents (that I can symlink or copy to Alfred’s workflow directory).

 

In the case of scripting languages, this is called “src”,  and I have the README, licence and probably the built workflow in the repo root.

 

In the case of compiled languages (Go in my case), the “build” subdirectory is what gets linked to Alfred’s workflow directory. The top-level contains code and build scripts (as is normal with Go).

 

I adopted your folder structure. Btw, I also created a workflow for your script to symlink/install workflows. It's awesome.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...