Skip to content

Commit

Permalink
☁️ chore(automation): Applying changes from upstream repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
Megabyte Labs committed Aug 24, 2022
1 parent a169fbf commit 25d58ce
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 87 deletions.
9 changes: 9 additions & 0 deletions .config/hbs.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ module.exports.register = function (Handlebars) {
.sort((a, b) => a.key.localeCompare(b.key))
})

/**
* Used for returning input from synchronous commands (i.e. bash commands)
*/
Handlebars.registerHelper('execSync', function (input, options) {
const output = execSync(input)

return output
})

/**
* Used for generating Homebrew resource stanzas for Python packages.
* For more information, see: https://github.com/tdsmith/homebrew-pypi-poet
Expand Down
Loading

0 comments on commit 25d58ce

Please sign in to comment.