#!/usr/bin/make -f
%:
	dh $@ --with phpcomposer

override_dh_auto_build:
	phpab \
		--output src/autoload.php \
		--template debian/autoload.php.tpl \
		src

override_dh_auto_test:
	# Skip phpunit tests because they are no longer included in the archive.
	# https://github.com/guzzle/promises/blob/e278912eaaa94079b9277d5dbe23fc0a22d308bf/.gitattributes#L6-L7

get-orig-source:
	uscan --verbose --rename --force
