This file contains 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
collections: | |
pages: -> | |
@getCollection("html").findAllLive({isPage:true},[{order:1}]).on "add", (model) -> | |
model.setMetaDefaults({layout:"default"}) | |
posts: (database) -> | |
database.findAllLive({relativeOutDirPath:'posts'},[{date:-1}]).on "add", (model) -> | |
model.setMetaDefaults({layout:"post"}) | |
projects: -> |
This file contains 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
<!-- Run the console application --> | |
<console configurationVersion="1.0" | |
steporder="ORDER_OF_TEST_STEP" | |
environment="NAME_OF_ENVIRONMENT" | |
onfailure="FAILURE_MODE_IS_EITHER_STOP_OR_CONTINUE"> | |
<exe><![CDATA[FULL_PATH_TO_APPLICATION_EXE_GOES_HERE]]></exe> | |
<params> | |
<param><![CDATA[PARAMETER_GOES_HERE]]></param> | |
<!-- Add more parameters here --> | |
</params> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" | |
DefaultTargets="Run" | |
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<PathManifestExe Condition=" '$(PathManifestExe)' == '' ">${PATH_TO_NADONI_DIRECTORY}$\nAdoni.ManifestBuilder.exe</PathManifestExe> | |
</PropertyGroup> | |
<Target Name="Run" DependsOnTargets="_DisplayInfo;_BuildManifests"> | |
<!-- Do nothing here --> |
This file contains 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
<add connectionString="metadata=res://*/SherlockModel.csdl|res://*/SherlockModel.ssdl|res://*/SherlockModel.msl;provider=System.Data.SqlClient;provider connection string="data source={SOURCE};initial catalog=Sherlock;User Id={USER};Password={PASSWORD};MultipleActiveResultSets=True;App=EntityFramework"" | |
name="SherlockContext" | |
providerName="System.Data.EntityClient" /> |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<stuff> | |
<MyFirstElement>My first property</MyFirstElement> | |
<MySecondElement>My second property</MySecondElement> | |
</stuff> |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<sherlock configurationVersion="1.2"> | |
<!-- | |
Provide some human readable information for the test. This information | |
is used in the reports. | |
--> | |
<description> | |
<product>${NAME_OF_PRODUCT_UNDER_TEST}$</product> | |
<version>${VERSION_OF_PRODUCT_UNDER_TEST}$</version> | |
<testpurpose>${PURPOSE_OF_TEST}$</testpurpose> |
This file contains 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
<Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003' | |
ToolsVersion="4.0"> | |
<UsingTask TaskName="SherlockRegisterTest" | |
TaskFactory="CodeTaskFactory" | |
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<InstallDir ParameterType="System.String" Required="true" /> | |
<Configuration ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<Task> |
This file contains 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
<Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003' | |
ToolsVersion="4.0"> | |
<UsingTask TaskName="WaitForFiles" | |
TaskFactory="CodeTaskFactory" | |
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<Files ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" /> | |
<MaximumWaitTimeInSeconds ParameterType="System.Int32" Required="true" /> | |
</ParameterGroup> | |
<Task> |
This file contains 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
<Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003' | |
ToolsVersion="4.0"> | |
<UsingTask TaskName="SherlockHasTestPassed" | |
TaskFactory="CodeTaskFactory" | |
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll"> | |
<ParameterGroup> | |
<ReportFile ParameterType="System.String" Required="true" /> | |
</ParameterGroup> | |
<Task> | |
<Reference Include="System.Xml" /> |
This file contains 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
import clr | |
clr.AddReference("Apollo.Core.Scripting") | |
import sys | |
import Apollo.Core.Scripting | |
# Verify that we don't have an active project | |
hasactiveproject = projects.HasActiveProject() | |
if hasactiveproject: | |
print 'Fail: Active project already exists' |
OlderNewer