From 9168d83b636c2279890a7bade4dcb3fc3fb21523 Mon Sep 17 00:00:00 2001 From: Florian Hoyer Date: Fri, 26 Aug 2022 14:52:28 +0200 Subject: [PATCH] feat(teamcity): add plugin zip build --- .gitignore | 1 + package.json | 5 ++++- teamcity-plugin.xml | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 teamcity-plugin.xml diff --git a/.gitignore b/.gitignore index fcf59f8..335e356 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ current npm-shrinkwrap.json package-lock.json yarn.lock +teamcity-plugin/ \ No newline at end of file diff --git a/package.json b/package.json index a15a784..7f8663f 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,10 @@ "postdoctoc:check": "mv v-README.md.orig README.md", "eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)", "dockerfile_lint": "dockerfile_lint", - "markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p" + "markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p", + "preteamcity:tool": "rm -R ./teamcity-plugin && mkdir -p ./teamcity-plugin", + "teamcity:tool:copy": "cp ./nvm.sh ./teamcity-plugin && cp ./teamcity-plugin.xml ./teamcity-plugin", + "teamcity:tool": "npm run teamcity:tool:copy && zip -j teamcity-plugin/nvm.zip teamcity-plugin/*" }, "repository": { "type": "git", diff --git a/teamcity-plugin.xml b/teamcity-plugin.xml new file mode 100644 index 0000000..ce5047c --- /dev/null +++ b/teamcity-plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file