Automatically prune jellyfin dependencies using both Directory.Packages.props from upstream git repo and exclude system dependencies brought in by other dependencies For example both jellyfin and Duende.IdentityModel.OidcClient depend on Microsoft.Extensions.Logging.Abstractions which is now automatically pruned from the publish directory `jprm repo build`: builds the plugin and updates the manifest in a single command Parse xml using ElementTree module Parses slnx files Add targetAbi CLI option Get version from python installation Type the plugin metadata files Change URL arguments to a format string Extract hostname, owner and project from the current repo for URL format string Automatically set ExcludeAssets="runtime" on jellyfin packages Add changelog CLI option for `jprm repo build` Allow auto incrementing revision
15 lines
381 B
Python
15 lines
381 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# Copyright (c) 2020 - Odd Strabo <oddstr13@openshell.no>
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
from __future__ import annotations
|
|
|
|
from jprm import cli
|
|
|
|
if __name__ == '__main__':
|
|
cli()
|