mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-11-10 10:18:57 +03:00
36 lines
654 B
TOML
36 lines
654 B
TOML
[tasks.install-commitlint.mac]
|
|
script = [
|
|
"""
|
|
brew install npm
|
|
yarn install
|
|
yarn husky install
|
|
""",
|
|
]
|
|
script_runner = "@shell"
|
|
|
|
[tasks.install-commitlint.windows]
|
|
script = [
|
|
"""
|
|
echo "WIP"
|
|
""",
|
|
]
|
|
script_runner = "@duckscript"
|
|
|
|
[tasks.install-commitlint.linux]
|
|
script = [
|
|
"""
|
|
if command -v apt &> /dev/null
|
|
then
|
|
echo "Installing node.js and yarn (sudo apt install nodejs yarn)"
|
|
sudo apt install nodejs yarn
|
|
else
|
|
echo "Installing node.js and yarn (sudo pacman -S nodejs yarn)"
|
|
sudo pacman -S nodejs yarn
|
|
fi
|
|
|
|
yarn install
|
|
yarn husky install
|
|
""",
|
|
]
|
|
script_runner = "@shell"
|