Skip to content

Commit 423d8be

Browse files
committed
doc update
1 parent d821fe2 commit 423d8be

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

docs/localpackages_buildconfig.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Usage examples
2+
3+
node make.js build --includeLocalPackagesBuildConfig
4+
node make.js build --includeLocalPackagesBuildConfig --task MavenV4
5+
6+
## What does specifing --includeLocalPackagesBuildConfig do?
7+
8+
It produces a new LocalPackages config, which updates several package.json references to point to local files.
9+
10+
A single version is used for all LocalPackages, stored in [gitroot]\globalversion.txt. globalversion.txt is only created if "—includeLocalPackagesBuildConfig" is specified.
11+
12+
globalversion.txt (if present) is updated to avoid clashes with existing task versions. The global version specified is use for tasks generated under LocalPackages build.config. The version number is [major from task].[sprint].[patch]
13+
14+
This hybrid approach is transitionary. In the future, all build configs (including the default) will use the global version.
15+
16+
## sub-tree
17+
18+
Subtrees were added to pull in modules from other repos
19+
20+
git clone https://github.com/microsoft/azure-pipelines-tasks
21+
22+
23+
# add (one time)
24+
git remote add -f azure-pipelines-task-lib https://github.com/microsoft/azure-pipelines-task-lib
25+
git subtree add --prefix task-lib azure-pipelines-task-lib master --squash
26+
27+
git remote add -f azure-pipelines-tasks-common-packages https://github.com/microsoft/azure-pipelines-tasks-common-packages
28+
git subtree add --prefix tasks-common azure-pipelines-tasks-common-packages main --squash
29+
30+
# pull
31+
git subtree pull --prefix task-lib azure-pipelines-task-lib master --squash
32+
git subtree pull --prefix tasks-common azure-pipelines-tasks-common-packages main --squash
33+

0 commit comments

Comments
 (0)