forked from sass/libsass-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpack.cmd
More file actions
18 lines (15 loc) · 873 Bytes
/
pack.cmd
File metadata and controls
18 lines (15 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
@SET Framework40Version=4.0
@if "%PathToMsBuild%"=="" (
@for /F "tokens=1,2*" %%i in ('reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\%Framework40Version%" /v "MSBuildToolsPath"') DO (
if "%%i" == "MSBuildToolsPath" (
@SET "PathToMsBuild=%%k"
)
)
)
%PathToMsBuild%\MSBuild.exe libsass-net.sln /nologo /v:n /m:4 /p:Configuration=Release
%PathToMsBuild%\MSBuild.exe libsass-net.sln /nologo /v:n /m:4 /p:Configuration=Release /p:Platform=x64
.nuget\NuGet Pack "libsassnet\libsassnet.csproj" -Properties Configuration=Release
.nuget\NuGet Pack "libsassnet.Web\libsassnet.Web.csproj" -Properties Configuration=Release
.nuget\NuGet Pack "libsassnet\libsassnet.x64.csproj" -Properties Configuration=Release;Platform=x64
.nuget\NuGet Pack "libsassnet.Web\libsassnet.Web.x64.csproj" -Properties Configuration=Release;Platform=x64