Makefile 596 B

123456789101112
  1. ZIP=powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory
  2. .PHONY: ZipTemplates ZipSharpRealityTemplates
  3. ZipTemplates: Clean
  4. $(ZIP)('VsSolutionTemplate', 'VSIX/ProjectTemplates/UrhoSharp.zip'); }" && $(ZIP)('SharpReality', 'SharpRealityVsix/ProjectTemplates/HoloUrhoSharp.zip'); }"
  5. ReleaseVsix: ZipTemplates ZipSharpRealityTemplates
  6. msbuild VSIX.sln /t:Build /p:Configuration=Release
  7. Clean:
  8. rm -f "VSIX/ProjectTemplates/UrhoSharp.zip" && rm -f "SharpRealityVsix/ProjectTemplates/HoloUrhoSharp.zip"