This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree 2 files changed +22
-2
lines changed
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
35
35
test : all
36
36
# to be done
37
37
38
+ cli4test : all
39
+ $(PYTHON ) -m cli4 /ips > /dev/null
40
+
38
41
sdist : all
39
42
make clean
40
43
make test
78
81
79
82
api :
80
83
@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 ; \
83
86
egrep -v ' ; deprecated' < $$ tmp.2 | diff $$ tmp.1 - > $$ tmp.3 ; \
84
87
echo " In code:" ; \
85
88
egrep ' < ' < $$ tmp.3 | sed -e ' s/< / /' | sort | tee $$ tmp.4 ; \
You can’t perform that action at this time.
0 commit comments