Skip to content

Commit

Permalink
Set ScriptsPath variables in compressor targets
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Jul 19, 2016
1 parent f130ae0 commit ed1d0b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RequireJsNet.Compressor/RequireJsNet.Compressor.targets
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<RequireJsNetAutoCompressor Condition="$(RequireJsNetAutoCompressor) == ''">true</RequireJsNetAutoCompressor>
<RequireJsNetEncodingType Condition="$(RequireJsNetEncodingType) == ''">UTF8</RequireJsNetEncodingType>
<RequireJsNetProjectPath Condition="$(RequireJsNetProjectPath) == ''">$(MSBuildProjectDirectory)</RequireJsNetProjectPath>
<RequireJsNetScriptsPath Condition="$(RequireJsNetScriptsPath) == ''">$(MSBuildProjectDirectory)\Scripts\</RequireJsNetScriptsPath>
<RequireJsNetProjectPathForDeploy Condition="$(RequireJsNetProjectPathForDeploy) == ''">$(_PackageTempDir)</RequireJsNetProjectPathForDeploy>
<RequireJsNetScriptsPathForDeploy Condition="$(RequireJsNetScriptsPathForDeploy) == ''">$(_PackageTempDir)\Scripts\</RequireJsNetScriptsPathForDeploy>
<RequireJsNetEntryPointOverride Condition="$(RequireJsNetEntryPointOverride) == ''">$(MSBuildProjectDirectory)\Scripts\</RequireJsNetEntryPointOverride>
<!--<BuildDependsOn>
RequireJsNetMinify;
Expand All @@ -34,6 +36,7 @@
AutoCompressor="$(RequireJsNetAutoCompressor)"
EncodingType="$(RequireJsNetEncodingType)"
ProjectPath="$(RequireJsNetProjectPath)"
PackagePath="$(RequireJsNetScriptsPath)"
EntryPointOverride="$(RequireJsNetEntryPointOverride)" />
</Target>

Expand All @@ -44,7 +47,7 @@
AutoCompressor="$(RequireJsNetAutoCompressor)"
EncodingType="$(RequireJsNetEncodingType)"
ProjectPath="$(RequireJsNetProjectPathForDeploy)"
PackagePath="$(RequireJsNetProjectPathForDeploy)\Scripts\"
PackagePath="$(RequireJsNetScriptsPathForDeploy)"
EntryPointOverride="$(RequireJsNetEntryPointOverride)" />
</Target>
</Project>

0 comments on commit ed1d0b8

Please sign in to comment.