8000 Allow extending build with local-only files · devlooped/oss@6ae80a1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Commit 6ae80a1

Browse files
authored
Allow extending build with local-only files
The .user extension is in the .gitignore list, so Directory.props.user and Directory.targets.user can safely be created without risk of commiting to the repo. This allows to tweak local builds without changing commited files.
1 parent 28a27ba commit 6ae80a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,5 @@
142142
</ItemGroup>
143143

144144
<Import Project="Directory.props" Condition="Exists('Directory.props')"/>
145+
<Import Project="Directory.props.user" Condition="Exists('Directory.props.user')" />
145146
</Project>

src/Directory.Build.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,6 @@
159159

160160
<!-- Import before UsingTask because first to declare tasks wins -->
161161
<Import Project="Directory.targets" Condition="Exists('Directory.targets')"/>
162+
<Import Project="Directory.targets.user" Condition="Exists('Directory.targets.user')" />
162163

163-
</Project>
164+
</Project>

0 commit comments

Comments
 (0)
0