-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
159 changed files
with
6,605 additions
and
6,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.DEFAULT_GOAL := help | ||
.PHONY: test deps style lint install help | ||
|
||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
target_dirs := tests TTS notebooks | ||
|
||
system-deps: ## install linux system deps | ||
sudo apt-get install -y espeak-ng | ||
sudo apt-get install -y libsndfile1-dev | ||
|
||
deps: ## install 🐸 requirements. | ||
pip install -r requirements.txt | ||
|
||
test: ## run tests. | ||
nosetests --with-cov -cov --cover-erase --cover-package TTS tests | ||
./run_bash_tests.sh | ||
|
||
style: ## update code style. | ||
black ${target_dirs} | ||
isort ${target_dirs} | ||
|
||
lint: ## run pylint linter. | ||
pylint ${target_dirs} | ||
|
||
install: ## install 🐸 TTS for development. | ||
pip install -e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.