Merge lp:~pedronis/tanuki-agent/tarballs-building-tweaks into lp:tanuki-agent

Proposed by Samuele Pedroni
Status: Merged
Approved by: Samuele Pedroni
Approved revision: 121
Merged at revision: 120
Proposed branch: lp:~pedronis/tanuki-agent/tarballs-building-tweaks
Merge into: lp:tanuki-agent
Diff against target: 33 lines (+7/-3)
1 file modified
Makefile (+7/-3)
To merge this branch: bzr merge lp:~pedronis/tanuki-agent/tarballs-building-tweaks
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+275362@code.launchpad.net

Commit message

* use .tar.gz for tanuki-agent tarball, insert LICENSE.txt
* target for test_tarball

Description of the change

* use .tar.gz for tanuki-agent tarball, insert LICENSE.txt
* target for test_tarball

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Thanks, Samuele.

review: Approve
121. By Samuele Pedroni

use v for consistency

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2015-10-21 18:49:09 +0000
3+++ Makefile 2015-10-22 14:55:53 +0000
4@@ -22,7 +22,7 @@
5 env/bin/flake8 *.py scripts/*.py --max-line-length=99
6
7 cold-install:
8- rm -rf /tmp/pip-cache
9+ rm -rf /tmp/pip-cache
10 bzr branch lp:~tanuki/tanuki-agent/pip-cache /tmp/pip-cache
11 env/bin/pip install --no-index --find-links=/tmp/pip-cache -r requirements.txt
12 env/bin/pip install --no-index --find-links=/tmp/pip-cache -r test_requirements.txt
13@@ -44,9 +44,13 @@
14 mv tanuki-agent-binaries/agent.exe tanuki-agent-binaries/agent.py
15 mv tanuki-agent-binaries/api_example.exe tanuki-agent-binaries/api_example.py
16 cp README.rst tanuki-agent-binaries
17+ cp LICENSE.txt tanuki-agent-binaries
18 mkdir tanuki-agent-binaries/requests
19 cp env/lib/python3.4/site-packages/requests/cacert.pem tanuki-agent-binaries/requests/cacert.pem
20- tar czvf tanuki-agent.tgz tanuki-agent-binaries
21+ tar czvf tanuki-agent.tar.gz tanuki-agent-binaries
22+
23+test_tarball:
24+ tar czvf test_tarball.tar.gz -C rpi2-sample-provkit/test_tarball_content test
25
26 version:
27 bzr version-info -r $(REVNO) --format=custom --template="revno = '{revno}'\n" > $(VERSION_FILENAME) || echo "revno = 'UNKNOWN'" > $(VERSION_FILENAME)
28@@ -54,5 +58,5 @@
29 docs:
30 cd docs; $(MAKE)
31
32-.PHONY: clean reqs bootstrap test cold-install binary docs
33+.PHONY: clean reqs bootstrap test cold-install binary test_tarball docs
34

Subscribers

People subscribed via source and target branches

to all changes: