Skip to content
Snippets Groups Projects
Commit 4099d7f9 authored by nimrod's avatar nimrod
Browse files

Improved clean and publish in Fabric.

parent 76b1d6d4
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ def publish (): ...@@ -6,6 +6,8 @@ def publish ():
build () build ()
for dist in ['wheezy', 'jessie', 'sid']: for dist in ['wheezy', 'jessie', 'sid']:
local ('''reprepro includedeb ''' + dist + ''' ../python3-vlc_*.deb''') local ('''reprepro includedeb ''' + dist + ''' ../python3-vlc_*.deb''')
local ('''fab -f $REPREPRO_BASE_DIR/fabfile.py publish''')
clean ()
@task @task
def build (): def build ():
...@@ -18,4 +20,4 @@ def clean (): ...@@ -18,4 +20,4 @@ def clean ():
local ('''rm ../python3-vlc_*''') local ('''rm ../python3-vlc_*''')
local ('''rm -r debian/python3-vlc.substvars debian/python3-vlc.prerm.debhelper\ local ('''rm -r debian/python3-vlc.substvars debian/python3-vlc.prerm.debhelper\
debian/python3-vlc.postinst.debhelper debian/python3-vlc.debhelper.log\ debian/python3-vlc.postinst.debhelper debian/python3-vlc.debhelper.log\
debian/python3-vlc''') debian/python3-vlc debian/files''')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment