forked from arista-eosplus/ansible-eos-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 767 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/make
# WARN: gmake syntax
########################################################
# Makefile for ansible-eos-bridging role
#
# useful targets:
# make flake8 -- flake8 checkes
# make tests -- run all of the tests
# make clean -- clean distutils
#
########################################################
# variable section
NAME = "ansible-eos-system"
VERSION := $(shell cat VERSION)
########################################################
all: clean flake8 build tests
flake8:
flake8 --ignore=E265,E266,E302,E303,F401,F403 filter_plugins/
clean:
@echo "Cleaning up byte compiled python stuff"
find . -type f -regex ".*\.py[co]$$" -delete
@echo "Cleaning up Ansible stuff"
find . -type f -regex ".*\.retry$$" -delete
tests: clean
nosetests -v