diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-03 08:06:25 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-03 08:06:25 -0800 |
commit | 4a7c65e52e69e38c8e8d633fbd39516a8b648053 (patch) | |
tree | 848cbe71541f67982f9ab5035e04b200bd5e3ba3 | |
parent | c1c763ef7ae943c7945c6d75459d02613329dd44 (diff) | |
download | DotNetOpenAuth-4a7c65e52e69e38c8e8d633fbd39516a8b648053.zip DotNetOpenAuth-4a7c65e52e69e38c8e8d633fbd39516a8b648053.tar.gz DotNetOpenAuth-4a7c65e52e69e38c8e8d633fbd39516a8b648053.tar.bz2 |
Removes OAuth 2 samples from unified assembly distribution that lacks OAuth2 support.
Fixes #65
-rw-r--r-- | tools/drop.proj | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/drop.proj b/tools/drop.proj index 973540b..e49e92b 100644 --- a/tools/drop.proj +++ b/tools/drop.proj @@ -61,7 +61,8 @@ " /> <DropProjectTemplatesSourceFiles Include="@(ProjectTemplatesVsi)" /> <DropVsixSourceFiles Include="@(ExtensionVsix)" Condition=" '%(ExtensionVsix.IncludeInDrop)' == 'true' " /> - <DropSamplesSourceFiles Include="$(ProjectRoot)Samples\**" Exclude=" + + <ExcludedDropSamplesSourceFiles Include=" $(ProjectRoot)**\obj\**; $(ProjectRoot)**\*.sln.cache; $(ProjectRoot)**\*.suo; @@ -79,6 +80,12 @@ $(ProjectRoot)Samples\**\*.refresh_; $(ProjectRoot)Samples\*.proj; " /> + <ExcludedDropSamplesSourceFiles Condition=" '$(IncludeOAuth2)' != 'true' " Include=" + $(ProjectRoot)Samples\OAuthClient\**; + $(ProjectRoot)Samples\OAuthAuthorizationServer\**; + $(ProjectRoot)Samples\OAuthResourceServer\**; + " /> + <DropSamplesSourceFiles Include="$(ProjectRoot)Samples\**" Exclude="@(ExcludedDropSamplesSourceFiles)" /> <DropSamplesSourceFiles Include="$(ProjectRoot)Samples\**\Bin\*.refresh" /> <!-- Some .refresh files are only applicable to drop builds, so we rename them from *.refresh_ --> <DropSamplesRefreshSourceFiles Include="$(ProjectRoot)Samples\**\*.refresh_" /> |