This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+
2+ language : python
3+ python :
4+ - " 2.7"
5+ - " 3.4"
6+ - " 3.5"
7+ - " 3.6"
8+ - " 3.7"
9+ - " 3.8"
10+ virtualenv :
11+ system_site_packages : true
12+ install :
13+ - pip install -r requirements.txt
14+ - python setup.py -q install
15+ script :
16+ - pytest
17+ - make cli4test
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ install: build
3535test : all
3636# to be done
3737
38+ cli4test : all
39+ $(PYTHON ) -m cli4 /ips > /dev/null
40+
3841sdist : all
3942 make clean
4043 make test
7881
7982api :
8083 @tmp=/tmp/_$$$$ _ ; \
81- python -m cli4 --dump | sort > $$ tmp.1 ; \
82- python -m cli4 --api | sed -e ' s/^[A-Z][A-Z]* *//' -e ' s/\/:[a-z_]*/\/:id/g' -e ' s/\/:id$$//' -e ' s/\/:id ;/ ;/' | sort | uniq > $$ tmp.2 ; \
84+ $( PYTHON ) -m cli4 --dump | sort > $$ tmp.1 ; \
85+ $( PYTHON ) -m cli4 --api | sed -e ' s/^[A-Z][A-Z]* *//' -e ' s/\/:[a-z_]*/\/:id/g' -e ' s/\/:id$$//' -e ' s/\/:id ;/ ;/' | sort | uniq > $$ tmp.2 ; \
8386 egrep -v ' ; deprecated' < $$ tmp.2 | diff $$ tmp.1 - > $$ tmp.3 ; \
8487 echo " In code:" ; \
8588 egrep ' < ' < $$ tmp.3 | sed -e ' s/< / /' | sort | tee $$ tmp.4 ; \
You can’t perform that action at this time.
0 commit comments