diff --git a/.gitignore b/.gitignore index e2340d2aa7..570fbd87bd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,9 @@ db.newaskbot db.oldaskbot flushdb.sh build +.coverage +coverage.xml +cover/ +log/ +reports/ \#*\# \ No newline at end of file diff --git a/rakefile b/rakefile index 51f4fd72f7..f630f74eef 100644 --- a/rakefile +++ b/rakefile @@ -89,13 +89,14 @@ task :package do FileUtils.chmod(0755, postinstall.path) args = ["fakeroot", "fpm", "-s", "dir", "-t", "deb", + "--verbose", "--after-install=#{postinstall.path}", "--prefix=#{INSTALL_DIR_PATH}", - "--exclude=build", + "--exclude=build/**", "--exclude=rakefile", - "--exclude=.git", + "--exclude=.git/**", "--exclude=**/*.pyc", - "--exclude=reports", + "--exclude=reports/**", "-C", "#{REPO_ROOT}", "--provides=#{PACKAGE_NAME}", "--name=#{NORMALIZED_DEPLOY_NAME}",