> git clone https://github.com/streeter/dash-snippets.git
> cd dash-snippets
> bundle install
> echo "DASH_SNIPPET_PATH=~/path/to/snippets.dash" > .env
> rake dash:dump
Make sure to setup the DASH_SNIPPET_PATH
environment variable.
Run the rake task to build all the snippets inside of the Dash database:
> rake dash:build
You can create and update the system-wide emoji snippets in Dash using the update_emoji.py
script. This script reads the .json
file inside of emojilib
node installed package , and then exports .toml
files that the rake dash:build
task reads. npm install
and then run update_emoji.py
to populate the new emoji.
Code adopted from @tbpgr's dash_snippets_builder
repository.