-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): normalize paths in Directory.Build.targets
- Loading branch information
1 parent
3870b55
commit e8bf1bc
Showing
4 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,6 @@ Thumbs.db | |
.cache-loader/ | ||
|
||
**/bin | ||
**/obj | ||
**/obj | ||
|
||
.vs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- | ||
This file is imported early in the build order. | ||
Use it to set default property values that can be overridden in specific projects. | ||
--> | ||
<Project> | ||
<PropertyGroup> | ||
<!-- Output path configuration --> | ||
<RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepoRoot> | ||
<ProjectRelativePath>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</ProjectRelativePath> | ||
<BaseOutputPath>$(RepoRoot)dist/$(ProjectRelativePath)</BaseOutputPath> | ||
<OutputPath>$(BaseOutputPath)</OutputPath> | ||
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- | ||
This file is imported late in the build order. | ||
Use it to override properties and define dependent properties. | ||
--> | ||
<Project> | ||
<PropertyGroup> | ||
<MSBuildProjectDirRelativePath>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</MSBuildProjectDirRelativePath> | ||
<NodeModulesRelativePath>$([MSBuild]::MakeRelative($(MSBuildProjectDirectory), $(RepoRoot)))</NodeModulesRelativePath> | ||
</PropertyGroup> | ||
<Target Name="CheckNxModuleBoundaries" BeforeTargets="Build"> | ||
<Exec Command="npx ts-node -r tsconfig-paths/register --project $(NodeModulesRelativePath)/packages/core/tsconfig.lib.json $(NodeModulesRelativePath)/packages/core/src/tasks/check-module-boundaries.ts --project-root "$(MSBuildProjectDirRelativePath)"" | ||
/> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters