This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo. | |
echo Running as: | |
whoami | |
echo. | |
set application=%1 | |
if NOT '%application%'=='' GOTO :environmentcheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
path = %path%;%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ | |
powershell -ExecutionPolicy Unrestricted -NoExit -Command " &{import-module .\scripts\psake.psm1; Invoke-Psake -docs}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Basic build tasks for SharePoint (or other projects) - using 7zip and GacUtil | |
$framework = '4.0x64' | |
. .\scripts\build-tasks.ps1 | |
properties { | |
$project = "Sites" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Usage for Gallio tests: | |
Task Test-System -Description "Runs the system tests via Gallio" { | |
Test-Gallio $proj $configuration $platform $dll "system" "Test.System" | |
# Test-Gallio ".\src\Test.Unit\Test.Unit.csproj" Release x64 ".\src\Test.Unit\bin\Release\x64\Test.Unit.dll" "unit" | |
} | |
} | |
#> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Basic migration tasks for SharePoint. | |
$framework = '3.5x64' | |
. .\scripts\migrations-tasks.ps1 | |
Properties { | |
$application = "http://mysites" | |
$migrationsAssembly = "$base_dir\lib\migratordotnet\Infrastructure.dll" | |
$to = -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Basic tasks for SharePoint. These wrap many powershell commandlets which littles bits and pieces that actually work. They | |
are particularly designed for reuse with psake scripts. Belows is a sample psake script for deploying a sharepoint. | |
For building and package see: . .\scripts\build-tasks.ps1 # see gist: https://gist.github.com/1108813 | |
$framework = '3.5x64' | |
. .\scripts\sharepoint-tasks.ps1 | |
Properties { |
NewerOlder