|
Revision 119
(checked in by stevegt, 6 years ago)
|
fix rsync calls
|
| Line | |
|---|
| 1 |
tmp=/tmp/tractest1 |
|---|
| 2 |
egg=TracMarket-0.1-py2.3.egg |
|---|
| 3 |
tmpegg=$(tmp)/dist/$(egg) |
|---|
| 4 |
|
|---|
| 5 |
all: test install |
|---|
| 6 |
|
|---|
| 7 |
test: |
|---|
| 8 |
python setup.py test |
|---|
| 9 |
|
|---|
| 10 |
cruise: |
|---|
| 11 |
|
|---|
| 12 |
dnotify -Mr . -e bash -c "echo starting...; sleep 10; make test" |
|---|
| 13 |
|
|---|
| 14 |
$(tmpegg): FORCE |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
rm -rf $(tmp) |
|---|
| 18 |
svn export . $(tmp) |
|---|
| 19 |
|
|---|
| 20 |
cd $(tmp) \ |
|---|
| 21 |
&& python ./setup.py bdist_egg |
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
install: $(tmpegg) |
|---|
| 25 |
sudo cp $(tmpegg) /var/trac/test1/plugins/ |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
install-t7a: $(tmpegg) |
|---|
| 32 |
rsync -e ssh -vz $(tmpegg) root@trac.t7a.org:/var/trac/t7a/plugins/ |
|---|
| 33 |
rsync -e ssh -vz $(tmpegg) root@trac.t7a.org:/var/trac/isconf/plugins/ |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
install-mss: $(tmpegg) |
|---|
| 38 |
rsync -e ssh -vz $(tmpegg) root@msstrac.t7a.org:/var/trac/mss-int/plugins/ |
|---|
| 39 |
|
|---|
| 40 |
todo: |
|---|
| 41 |
svngrep TODO | ~/bin/todo-grep | sort -n |
|---|
| 42 |
svngrep XXX | ~/bin/todo-grep |
|---|
| 43 |
|
|---|
| 44 |
FORCE: |
|---|
| 45 |
|
|---|