-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGNUmakefile
37 lines (30 loc) · 998 Bytes
/
GNUmakefile
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
33
34
35
36
37
##############################################################################
#
# Copyright (C) Zenoss, Inc. 2015, all rights reserved.
#
# This content is made available according to terms specified in
# License.zenoss under the directory where your Zenoss product is installed.
#
##############################################################################
PYTHON=$(shell which python)
HERE=$(PWD)
ZP_DIR=$(HERE)/ZenPacks/community/Arista
default: build
egg:
python setup.py bdist_egg
build:
python setup.py bdist_egg
python setup.py build
clean:
rm -rf build dist *.egg-info
analytics-bundle:
rm -f ZenPacks/community/Arista/analytics/analytics-bundle.zip
mkdir -p ZenPacks/community/Arista/analytics
mkdir -p analytics/resources/public/Arista_ZenPack
./create-analytics-bundle \
--folder="Arista_ZenPack" \
--domain="Arista Domain" \
--device=Arista;
cd analytics && \
zip -r ../ZenPacks/community/Arista/analytics/analytics-bundle.zip * && \
cd ..