forked from chhantyal/py3readiness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
21 lines (19 loc) · 961 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
help:
@echo "make help -- print this help"
@echo "make generate -- regenerate the json"
@echo "make update -- upload the json and index.html to s3"
generate:
python generate.py
update:
/usr/local/bin/s3cmd put index.html s3://wheelpackages/index.html --cf-invalidate \
--add-header='Cache-Control: max-age=30' \
--add-header='Date: `date -u +"%a, %d %b %Y %H:%M:%S GMT"`'
/usr/local/bin/s3cmd put results.json s3://wheelpackages/results.json --cf-invalidate \
--add-header='Cache-Control: max-age=30' \
--add-header='Date: `date -u +"%a, %d %b %Y %H:%M:%S GMT"`'
/usr/local/bin/s3cmd put wheel.svg s3://wheelpackages/wheel.svg --cf-invalidate \
--add-header='Cache-Control: max-age=30' \
--add-header='Date: `date -u +"%a, %d %b %Y %H:%M:%S GMT"`'
/usr/local/bin/s3cmd put wheel.css s3://wheelpackages/wheel.css --cf-invalidate \
--add-header='Cache-Control: max-age=30' \
--add-header='Date: `date -u +"%a, %d %b %Y %H:%M:%S GMT"`'