Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: introducing homebrew installation #410

Closed
jjangga0214 opened this issue Dec 9, 2022 · 2 comments
Closed

docs: introducing homebrew installation #410

jjangga0214 opened this issue Dec 9, 2022 · 2 comments

Comments

@jjangga0214
Copy link

Hi!
Would you introduce an installation process with homebrew/linuxbrew on docs?
I think it'd be helpful to many people.
Thanks :)

@tinamthomas
Copy link
Collaborator

tinamthomas commented Jan 26, 2023

Talisman installation through homebrew was addressed here #51. But we still need to update the readme.

antoprince001 added a commit to antoprince001/talisman that referenced this issue Apr 17, 2023
@exageraldo
Copy link

In my team we have some people who have installed Talisman as a global template and others who have installed it via homebrew.

We're using pre-commit and the configuration that worked for us in both cases was:

https://github.com/thoughtworks/talisman#1-pre-commit-linuxunix

-   repo: local
    hooks:
    -   id: talisman-precommit
        name: talisman
        entry: bash -c 'if [! talisman --version &> /dev/null];then talisman --githook pre-commit; elif [ -n "${TALISMAN_HOME:-}" ]; then ${TALISMAN_HOME}/talisman_hook_script pre-commit; else echo "TALISMAN does not exist. Consider installing from https://github.com/thoughtworks/talisman . If you already have talisman installed, please ensure TALISMAN_HOME variable is set to where talisman_hook_script resides, for example, TALISMAN_HOME=${HOME}/.talisman/bin"; fi'
        language: system
        pass_filenames: false
        types: [text]
        verbose: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants