@@ -26,9 +26,6 @@ build: buildext ## build the package
2626debug : # # build debug build of the package
2727 DEBUG=1 $(PYTHON ) setup.py build
2828
29- js : # # build the js assets
30- cd js; yarn build
31-
3229install : # # install the package
3330 $(PYTHON ) -m pip install .
3431
@@ -41,9 +38,6 @@ testpycpp: ## Make unit tests
4138 # AAT_USE_CPP=1 $(PYTHON) -m pytest -vvv ./aat/tests --cov=aat --junitxml=python_junit.xml --cov-report=xml --cov-branch --capture=no
4239 AAT_USE_CPP=1 $(PYTHON ) -m pytest -vs ./aat/tests
4340
44- testjs : # # Make js tests
45- cd js; yarn test
46-
4741testruns : testrunscsv testrunsiex # # Run a few examples as a live end-to-end test
4842
4943testrunscsv :
@@ -57,28 +51,22 @@ testrunsiex:
5751 TESTING=1 $(PYTHON ) -m aat.strategy.sample.iex.momentum
5852 TESTING=1 $(PYTHON ) -m aat.strategy.sample.iex.golden_death
5953
60- lint : lintpy lintjs lintcpp # # run all linters
54+ lint : lintpy lintcpp # # run all linters
6155
6256lintpy : # # run python linter
6357 $(PYTHON ) -m flake8 aat setup.py
6458
65- lintjs : # # run js linter
66- cd js; yarn lint
67-
6859lintcpp : # # run cpp linter
6960 cpplint --linelength=120 --recursive aat/cpp/{src,include}
7061
71- fix : fixpy fixjs fixcpp # # run all fixers
62+ fix : fixpy fixcpp # # run all fixers
7263
7364fixpy : # # run autopep8 fix
7465 $(PYTHON ) -m black aat/ setup.py
7566
7667fixcpp : # # run clang-format
7768 clang-format -i -style=file ` find ./aat/cpp/{src,include} -name " *.*pp" `
7869
79- fixjs : # # run clang-format
80- cd js; yarn fix
81-
8270annotate : # # MyPy type annotation check
8371 $(PYTHON ) -m mypy aat
8472
@@ -92,14 +80,13 @@ docs: ## Build the sphinx docs
9280 make -C docs html
9381 open ./docs/_build/html/index.html
9482
95- dist : js # # create dists
83+ dist : # # create dists
9684 rm -rf dist build
9785 python setup.py sdist bdist_wheel
9886 python -m twine check dist/*
9987
10088publish : dist # # dist to pypi and npm
10189 python -m twine upload dist/* --skip-existing
102- cd js; npm publish || echo " can't publish - might already exist"
10390
10491clean : # # clean the repository
10592 find . -name " __pycache__" | xargs rm -rf
@@ -117,5 +104,5 @@ help:
117104print-% :
118105 @echo ' $*=$($*)'
119106
120- .PHONY : run buildext build js install tests lint fix docs dist clean help fixcpp
107+ .PHONY : run buildext build install tests lint fix docs dist clean help fixcpp
121108
0 commit comments