albacore 1.0.0 → 2.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -21
- data/.travis.yml +31 -12
- data/Gemfile +14 -6
- data/Guardfile +1 -3
- data/README.md +200 -47
- data/Rakefile +9 -19
- data/albacore.gemspec +33 -23
- data/lib/albacore.rb +3 -47
- data/lib/albacore/albacore_module.rb +57 -0
- data/lib/albacore/application.rb +43 -0
- data/lib/albacore/cmd_config.rb +66 -0
- data/lib/albacore/config_dsl.rb +55 -0
- data/lib/albacore/cross_platform_cmd.rb +291 -0
- data/lib/albacore/dsl.rb +90 -0
- data/lib/albacore/errors/command_failed_error.rb +11 -0
- data/lib/albacore/errors/command_not_found_error.rb +13 -0
- data/lib/albacore/errors/unfilled_property_error.rb +14 -0
- data/lib/albacore/ext/README.md +12 -0
- data/lib/albacore/ext/teamcity.rb +64 -0
- data/lib/albacore/facts.rb +25 -0
- data/lib/albacore/logging.rb +32 -0
- data/lib/albacore/nuget_model.rb +387 -0
- data/lib/albacore/paths.rb +34 -0
- data/lib/albacore/project.rb +141 -0
- data/lib/albacore/semver.rb +5 -0
- data/lib/albacore/task_types/asmver.rb +72 -0
- data/lib/albacore/task_types/asmver/cpp.rb +20 -0
- data/lib/albacore/task_types/asmver/cs.rb +17 -0
- data/lib/albacore/task_types/asmver/engine.rb +126 -0
- data/lib/albacore/task_types/asmver/file_generator.rb +45 -0
- data/lib/albacore/task_types/asmver/fs.rb +37 -0
- data/lib/albacore/task_types/asmver/vb.rb +27 -0
- data/lib/albacore/task_types/build.rb +192 -0
- data/lib/albacore/task_types/nugets_authentication.rb +9 -0
- data/lib/albacore/task_types/nugets_pack.rb +378 -0
- data/lib/albacore/task_types/nugets_restore.rb +138 -0
- data/lib/albacore/task_types/test_runner.rb +39 -0
- data/lib/albacore/tasks/README.md +16 -0
- data/lib/albacore/tasks/albasemver.rb +49 -0
- data/lib/albacore/tasks/projectlint.rb +81 -0
- data/lib/albacore/tasks/versionizer.rb +65 -0
- data/lib/albacore/tools/fluent_migrator.rb +177 -0
- data/lib/albacore/tools/restore_hint_paths.rb +112 -0
- data/lib/albacore/version.rb +3 -3
- data/spec/Rakefile +5 -0
- data/spec/albacore_spec.rb +12 -0
- data/spec/asmver_spec.rb +151 -0
- data/spec/asmver_task_spec.rb +32 -0
- data/spec/build_spec.rb +60 -0
- data/spec/config_dsl_spec.rb +83 -0
- data/spec/cross_platform_cmd_spec.rb +65 -0
- data/spec/dsl_spec.rb +39 -0
- data/spec/ext_teamcity_spec.rb +71 -0
- data/spec/facts_spec.rb +7 -0
- data/spec/nuget_model_spec.rb +401 -0
- data/spec/nugets_pack_spec.rb +231 -0
- data/spec/nugets_restore_spec.rb +55 -0
- data/spec/project_spec.rb +26 -0
- data/spec/projectlint/added_but_not_on_filesystem/aproject.csproj +29 -0
- data/spec/projectlint/correct/File.cs +1 -0
- data/spec/projectlint/correct/Image.txt +1 -0
- data/spec/projectlint/correct/MyHeavy.heavy +1 -0
- data/spec/projectlint/correct/Schema.xsd +1 -0
- data/spec/projectlint/correct/SubFolder/AnotherFile.cs +1 -0
- data/spec/projectlint/correct/aproject.csproj +29 -0
- data/spec/projectlint/on_filesystem_but_not_added/File.cs +1 -0
- data/spec/projectlint/on_filesystem_but_not_added/Image.txt +1 -0
- data/spec/projectlint/on_filesystem_but_not_added/aproject.csproj +11 -0
- data/spec/projectlint_spec.rb +77 -0
- data/spec/smoke_spec.rb +55 -0
- data/spec/spec_helper.rb +19 -20
- data/spec/support/Nuget/NuGet.exe +0 -0
- data/spec/support/echo/FSharp.Core.dll +0 -0
- data/spec/support/echo/FSharp.Core.xml +10517 -0
- data/spec/support/echo/echo.XML +12 -0
- data/spec/support/echo/echo.exe +0 -0
- data/spec/support/echo/echo.exe.config +17 -0
- data/spec/support/echo/echo.pdb +0 -0
- data/spec/support/returnstatus/FSharp.Core.dll +0 -0
- data/spec/support/returnstatus/FSharp.Core.xml +10517 -0
- data/spec/support/returnstatus/returnstatus.XML +12 -0
- data/spec/support/returnstatus/returnstatus.exe +0 -0
- data/spec/support/returnstatus/returnstatus.exe.config +17 -0
- data/spec/support/returnstatus/returnstatus.pdb +0 -0
- data/spec/support/sh_interceptor.rb +83 -0
- data/spec/testdata/.gitignore +5 -0
- data/spec/testdata/DebugProject/.gitignore +1 -0
- data/spec/testdata/DebugProject/Degbu.fsproj +57 -0
- data/spec/testdata/DebugProject/Degbu.sln +20 -0
- data/spec/testdata/DebugProject/Gemfile +1 -0
- data/spec/testdata/DebugProject/Library1.fs +4 -0
- data/spec/testdata/DebugProject/Rakefile +22 -0
- data/spec/testdata/EmptyProject/EmptyProject.csproj +39 -0
- data/spec/{assemblyinfo → testdata/EmptyProject/Properties}/AssemblyInfo.cs +5 -5
- data/spec/testdata/Gemfile +1 -0
- data/spec/testdata/NuGet.exe +0 -0
- data/spec/testdata/Project/Library1.fs +4 -0
- data/spec/testdata/Project/Project.fsproj +52 -0
- data/spec/testdata/Project/Project.sln +20 -0
- data/spec/testdata/Project/packages.config +6 -0
- data/spec/testdata/Rakefile +22 -0
- data/spec/testdata/TestingDependencies/Sample.Commands/Library.fs +6 -0
- data/spec/testdata/TestingDependencies/Sample.Commands/Sample.Commands.fsproj +78 -0
- data/spec/testdata/TestingDependencies/Sample.Commands/Script.fsx +8 -0
- data/spec/testdata/TestingDependencies/Sample.Commands/packages.config +6 -0
- data/spec/testdata/TestingDependencies/Sample.Core/Library.fs +3 -0
- data/spec/testdata/TestingDependencies/Sample.Core/Sample.Core.fsproj +59 -0
- data/spec/testdata/TestingDependencies/Sample.Core/Script.fsx +8 -0
- data/spec/testdata/TestingDependencies/Sample.Core/packages.config +4 -0
- data/spec/testdata/TestingDependencies/Sample.sln +26 -0
- data/spec/testdata/TestingDependencies/vendor/FSharp.Core.dll +0 -0
- data/spec/testdata/TestingDependencies/vendor/FSharp.Core.optdata +0 -0
- data/spec/testdata/TestingDependencies/vendor/FSharp.Core.sigdata +0 -0
- data/spec/testdata/TestingDependencies/vendor/FSharp.Core.xml +8748 -0
- data/spec/testdata/example.nuspec +14 -0
- data/spec/testdata/example.symbols.nuspec +21 -0
- data/spec/tools/fluent_migrator_spec.rb +80 -0
- metadata +303 -212
- data/.bundle/config +0 -2
- data/.rspec +0 -2
- data/CONTRIBUTING.md +0 -87
- data/LICENSE +0 -21
- data/lib/albacore/albacoretask.rb +0 -50
- data/lib/albacore/aspnetcompiler.rb +0 -80
- data/lib/albacore/assemblyinfo.rb +0 -163
- data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +0 -54
- data/lib/albacore/assemblyinfolanguages/cppcliengine.rb +0 -18
- data/lib/albacore/assemblyinfolanguages/csharpengine.rb +0 -15
- data/lib/albacore/assemblyinfolanguages/fsharpengine.rb +0 -23
- data/lib/albacore/assemblyinfolanguages/vbnetengine.rb +0 -15
- data/lib/albacore/config/aspnetcompilerconfig.rb +0 -30
- data/lib/albacore/config/assemblyinfoconfig.rb +0 -18
- data/lib/albacore/config/config.rb +0 -22
- data/lib/albacore/config/cscconfig.rb +0 -28
- data/lib/albacore/config/docuconfig.rb +0 -19
- data/lib/albacore/config/execconfig.rb +0 -19
- data/lib/albacore/config/fluentmigratorconfig.rb +0 -19
- data/lib/albacore/config/ilmergeconfig.rb +0 -19
- data/lib/albacore/config/msbuildconfig.rb +0 -29
- data/lib/albacore/config/mspecconfig.rb +0 -19
- data/lib/albacore/config/mstestconfig.rb +0 -19
- data/lib/albacore/config/nantconfig.rb +0 -18
- data/lib/albacore/config/nchurnconfig.rb +0 -19
- data/lib/albacore/config/ncoverconsoleconfig.rb +0 -19
- data/lib/albacore/config/ncoverreportconfig.rb +0 -18
- data/lib/albacore/config/ndependconfig.rb +0 -19
- data/lib/albacore/config/netversion.rb +0 -28
- data/lib/albacore/config/nugetinstallconfig.rb +0 -18
- data/lib/albacore/config/nugetpackconfig.rb +0 -18
- data/lib/albacore/config/nugetpushconfig.rb +0 -18
- data/lib/albacore/config/nugetupdateconfig.rb +0 -18
- data/lib/albacore/config/nunitconfig.rb +0 -19
- data/lib/albacore/config/nuspecconfig.rb +0 -18
- data/lib/albacore/config/plinkconfig.rb +0 -18
- data/lib/albacore/config/specflowconfig.rb +0 -18
- data/lib/albacore/config/sqlcmdconfig.rb +0 -18
- data/lib/albacore/config/unzipconfig.rb +0 -19
- data/lib/albacore/config/xbuildconfig.rb +0 -18
- data/lib/albacore/config/xunitconfig.rb +0 -18
- data/lib/albacore/config/zipdirectoryconfig.rb +0 -18
- data/lib/albacore/csc.rb +0 -77
- data/lib/albacore/docu.rb +0 -38
- data/lib/albacore/exec.rb +0 -20
- data/lib/albacore/fluentmigrator.rb +0 -69
- data/lib/albacore/ilmerge.rb +0 -38
- data/lib/albacore/msbuild.rb +0 -55
- data/lib/albacore/mspec.rb +0 -39
- data/lib/albacore/mstest.rb +0 -47
- data/lib/albacore/nant.rb +0 -41
- data/lib/albacore/nchurn.rb +0 -49
- data/lib/albacore/ncoverconsole.rb +0 -56
- data/lib/albacore/ncoverreport.rb +0 -40
- data/lib/albacore/ncoverreports.rb +0 -16
- data/lib/albacore/ncoverreports/assemblyfilter.rb +0 -10
- data/lib/albacore/ncoverreports/branchcoverage.rb +0 -10
- data/lib/albacore/ncoverreports/classfilter.rb +0 -9
- data/lib/albacore/ncoverreports/codecoveragebase.rb +0 -27
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +0 -23
- data/lib/albacore/ncoverreports/documentfilter.rb +0 -9
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +0 -9
- data/lib/albacore/ncoverreports/methodcoverage.rb +0 -10
- data/lib/albacore/ncoverreports/methodfilter.rb +0 -9
- data/lib/albacore/ncoverreports/namespacefilter.rb +0 -9
- data/lib/albacore/ncoverreports/reportbase.rb +0 -23
- data/lib/albacore/ncoverreports/reportfilterbase.rb +0 -29
- data/lib/albacore/ncoverreports/summaryreport.rb +0 -9
- data/lib/albacore/ncoverreports/symbolcoverage.rb +0 -9
- data/lib/albacore/ndepend.rb +0 -33
- data/lib/albacore/nugetinstall.rb +0 -62
- data/lib/albacore/nugetpack.rb +0 -50
- data/lib/albacore/nugetpush.rb +0 -40
- data/lib/albacore/nugetupdate.rb +0 -50
- data/lib/albacore/nunit.rb +0 -46
- data/lib/albacore/nuspec.rb +0 -180
- data/lib/albacore/output.rb +0 -105
- data/lib/albacore/plink.rb +0 -50
- data/lib/albacore/specflow.rb +0 -30
- data/lib/albacore/sqlcmd.rb +0 -67
- data/lib/albacore/support/attrmethods.rb +0 -33
- data/lib/albacore/support/createtask.rb +0 -50
- data/lib/albacore/support/failure.rb +0 -15
- data/lib/albacore/support/logging.rb +0 -38
- data/lib/albacore/support/openstruct.rb +0 -13
- data/lib/albacore/support/platform.rb +0 -25
- data/lib/albacore/support/runcommand.rb +0 -45
- data/lib/albacore/support/updateattributes.rb +0 -13
- data/lib/albacore/support/yamlconfig.rb +0 -18
- data/lib/albacore/unzip.rb +0 -42
- data/lib/albacore/xbuild.rb +0 -41
- data/lib/albacore/xunit.rb +0 -44
- data/lib/albacore/zipdirectory.rb +0 -106
- data/spec/albacoremodel_spec.rb +0 -52
- data/spec/aspnetcompiler_spec.rb +0 -84
- data/spec/assemblyinfo_spec.rb +0 -209
- data/spec/attrmethods_spec.rb +0 -135
- data/spec/config_spec.rb +0 -32
- data/spec/createtask_spec.rb +0 -234
- data/spec/csc_spec.rb +0 -86
- data/spec/docu_spec.rb +0 -31
- data/spec/exec_spec.rb +0 -25
- data/spec/fluentmigrator_spec.rb +0 -88
- data/spec/ilmerge_spec.rb +0 -35
- data/spec/msbuild_spec.rb +0 -55
- data/spec/mspec_spec.rb +0 -30
- data/spec/mstest_spec.rb +0 -35
- data/spec/nant_spec.rb +0 -40
- data/spec/nchurn_spec.rb +0 -80
- data/spec/ncoverconsole_spec.rb +0 -80
- data/spec/ncoverreport_spec.rb +0 -139
- data/spec/ndepend_spec.rb +0 -26
- data/spec/netversion_spec.rb +0 -51
- data/spec/nugetinstall_spec.rb +0 -59
- data/spec/nugetpack_spec.rb +0 -49
- data/spec/nugetpush_spec.rb +0 -39
- data/spec/nugetupdate_spec.rb +0 -49
- data/spec/nunit_spec.rb +0 -35
- data/spec/nuspec/nuspec.xsd +0 -84
- data/spec/nuspec_spec.rb +0 -74
- data/spec/output/bar/bar.txt +0 -0
- data/spec/output/baz.txt +0 -0
- data/spec/output/erb.txt +0 -1
- data/spec/output/foo/foo/foo.txt +0 -0
- data/spec/output_spec.rb +0 -85
- data/spec/patch/system_patch.rb +0 -12
- data/spec/platform_spec.rb +0 -15
- data/spec/plink_spec.rb +0 -56
- data/spec/runcommand_spec.rb +0 -92
- data/spec/specflow_spec.rb +0 -30
- data/spec/sqlcmd_spec.rb +0 -66
- data/spec/unzip_spec.rb +0 -56
- data/spec/xbuild_spec.rb +0 -40
- data/spec/xunit_spec.rb +0 -30
- data/spec/yaml/test.yml +0 -3
- data/spec/yamlconfig_spec.rb +0 -53
- data/spec/zip/baz.txt +0 -0
- data/spec/zip/foo/bar/bar.txt +0 -0
- data/spec/zip/foo/foo.txt +0 -0
- data/spec/zip_spec.rb +0 -97
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<configuration>
|
3
|
+
<startup>
|
4
|
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
5
|
+
</startup>
|
6
|
+
<runtime>
|
7
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
8
|
+
<dependentAssembly>
|
9
|
+
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
10
|
+
<bindingRedirect oldVersion="4.0.0.0" newVersion="4.3.0.0"/>
|
11
|
+
<bindingRedirect oldVersion="2.3.5.0" newVersion="4.3.0.0"/>
|
12
|
+
<bindingRedirect oldVersion="2.0.0.0" newVersion="4.3.0.0"/>
|
13
|
+
|
14
|
+
</dependentAssembly>
|
15
|
+
</assemblyBinding>
|
16
|
+
</runtime>
|
17
|
+
</configuration>
|
Binary file
|
@@ -0,0 +1,83 @@
|
|
1
|
+
module ShInterceptor
|
2
|
+
|
3
|
+
# for sh, and system with arguments turned into a string
|
4
|
+
attr_accessor :received
|
5
|
+
|
6
|
+
# for #system
|
7
|
+
attr_accessor :executable
|
8
|
+
|
9
|
+
# for #system
|
10
|
+
attr_accessor :parameters
|
11
|
+
|
12
|
+
# for #system
|
13
|
+
attr_accessor :options
|
14
|
+
|
15
|
+
def is_mono_command? index = 0
|
16
|
+
e = invocations[index].executable
|
17
|
+
e.downcase == 'mono'
|
18
|
+
end
|
19
|
+
|
20
|
+
# gets the command (which might be mono-prefixed), without
|
21
|
+
# the mono-prefix.
|
22
|
+
def mono_command index = 0
|
23
|
+
invocation = invocations[index]
|
24
|
+
fail "no invocation with index = #{index}" unless invocation
|
25
|
+
parameters = invocation.parameters
|
26
|
+
is_mono_command?(index) ?
|
27
|
+
parameters[0] :
|
28
|
+
executable
|
29
|
+
end
|
30
|
+
|
31
|
+
def mono_parameters index = 0
|
32
|
+
invocation = invocations[index]
|
33
|
+
fail "no invocation with index = #{index}" unless invocation
|
34
|
+
parameters = invocation.parameters
|
35
|
+
is_mono_command?(index) ?
|
36
|
+
parameters[1..-1] :
|
37
|
+
parameters
|
38
|
+
end
|
39
|
+
|
40
|
+
def system_calls
|
41
|
+
if @system_calls.nil?
|
42
|
+
0
|
43
|
+
else
|
44
|
+
@system_calls
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# intercepts #system
|
49
|
+
def system *args
|
50
|
+
@options = (Hash === args.last) ? args.pop : {}
|
51
|
+
@executable = args[0] || ''
|
52
|
+
@parameters = args[1..-1].flatten || []
|
53
|
+
@system_calls = system_calls + 1
|
54
|
+
add_invocation(OpenStruct.new({ :executable => @executable, :parameters => @parameters, :options => @options}))
|
55
|
+
end
|
56
|
+
|
57
|
+
# gets the invocations given to #system, with readers:
|
58
|
+
# + executable : string
|
59
|
+
# + parameters : 'a array
|
60
|
+
# + options : Hash
|
61
|
+
def invocations
|
62
|
+
@invocations || []
|
63
|
+
end
|
64
|
+
|
65
|
+
private
|
66
|
+
def add_invocation invocation
|
67
|
+
Albacore.application.logger.debug "adding invocation: #{invocation}"
|
68
|
+
@invocations = (@invocations || [])
|
69
|
+
@invocations << invocation
|
70
|
+
end
|
71
|
+
|
72
|
+
# intercepts #sh
|
73
|
+
def sh *args
|
74
|
+
@received = args
|
75
|
+
end
|
76
|
+
|
77
|
+
# intercepts #shie
|
78
|
+
def shie *args
|
79
|
+
@received = args
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
pkg/
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4
|
+
<PropertyGroup>
|
5
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
7
|
+
<SchemaVersion>2.0</SchemaVersion>
|
8
|
+
<ProjectGuid>45e0813f-a549-431f-a51a-dd4a801a7efe</ProjectGuid>
|
9
|
+
<OutputType>Library</OutputType>
|
10
|
+
<RootNamespace>Degbu</RootNamespace>
|
11
|
+
<AssemblyName>Degbu</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
13
|
+
<Name>Degbu</Name>
|
14
|
+
</PropertyGroup>
|
15
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
16
|
+
<DebugSymbols>true</DebugSymbols>
|
17
|
+
<DebugType>full</DebugType>
|
18
|
+
<Optimize>false</Optimize>
|
19
|
+
<Tailcalls>false</Tailcalls>
|
20
|
+
<OutputPath>bin\Debug\</OutputPath>
|
21
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
22
|
+
<WarningLevel>3</WarningLevel>
|
23
|
+
<DocumentationFile>bin\Debug\Degbu.XML</DocumentationFile>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
26
|
+
<DebugType>pdbonly</DebugType>
|
27
|
+
<Optimize>true</Optimize>
|
28
|
+
<Tailcalls>true</Tailcalls>
|
29
|
+
<OutputPath>bin\Release\</OutputPath>
|
30
|
+
<DefineConstants>TRACE</DefineConstants>
|
31
|
+
<WarningLevel>3</WarningLevel>
|
32
|
+
<DocumentationFile>bin\Release\Degbu.XML</DocumentationFile>
|
33
|
+
</PropertyGroup>
|
34
|
+
<ItemGroup>
|
35
|
+
<Reference Include="mscorlib" />
|
36
|
+
<Reference Include="FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
37
|
+
<Private>True</Private>
|
38
|
+
</Reference>
|
39
|
+
<Reference Include="System" />
|
40
|
+
<Reference Include="System.Core" />
|
41
|
+
<Reference Include="System.Numerics" />
|
42
|
+
</ItemGroup>
|
43
|
+
<ItemGroup>
|
44
|
+
<Compile Include="Library1.fs" />
|
45
|
+
</ItemGroup>
|
46
|
+
<PropertyGroup>
|
47
|
+
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
|
48
|
+
</PropertyGroup>
|
49
|
+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" />
|
50
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
51
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
52
|
+
<Target Name="BeforeBuild">
|
53
|
+
</Target>
|
54
|
+
<Target Name="AfterBuild">
|
55
|
+
</Target>
|
56
|
+
-->
|
57
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
3
|
+
# Visual Studio 2012
|
4
|
+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Degbu", "Degbu.fsproj", "{45E0813F-A549-431F-A51A-DD4A801A7EFE}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{45E0813F-A549-431F-A51A-DD4A801A7EFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{45E0813F-A549-431F-A51A-DD4A801A7EFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{45E0813F-A549-431F-A51A-DD4A801A7EFE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{45E0813F-A549-431F-A51A-DD4A801A7EFE}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1 @@
|
|
1
|
+
gem 'albacore', :path => '../../..'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'albacore'
|
2
|
+
|
3
|
+
build do |b|
|
4
|
+
b.file = 'Degbu.fsproj'
|
5
|
+
b.prop 'Configuration', 'Release'
|
6
|
+
end
|
7
|
+
|
8
|
+
directory 'pkg'
|
9
|
+
|
10
|
+
nugets_pack :nugets_pack => [:build, 'pkg'] do |p|
|
11
|
+
p.exe = '../NuGet.exe'
|
12
|
+
p.files = FileList['*.fsproj']
|
13
|
+
p.out = 'pkg'
|
14
|
+
p.configuration = 'Release'
|
15
|
+
p.with_metadata do |m|
|
16
|
+
m.version = '0.0.1'
|
17
|
+
m.authors = 'Henrik'
|
18
|
+
m.description = 'A desc'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
task :default => :nugets_pack
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4
|
+
<PropertyGroup>
|
5
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
6
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
7
|
+
<ProjectGuid>{74ACCF8B-8ACE-408C-8E41-BC2466C1E83D}</ProjectGuid>
|
8
|
+
<OutputType>Library</OutputType>
|
9
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
+
<RootNamespace>EmptyProject</RootNamespace>
|
11
|
+
<AssemblyName>EmptyProject</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13
|
+
<FileAlignment>512</FileAlignment>
|
14
|
+
</PropertyGroup>
|
15
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
16
|
+
<DebugType>pdbonly</DebugType>
|
17
|
+
<Optimize>true</Optimize>
|
18
|
+
<OutputPath>bin\Release\</OutputPath>
|
19
|
+
<DefineConstants>TRACE</DefineConstants>
|
20
|
+
<ErrorReport>prompt</ErrorReport>
|
21
|
+
<WarningLevel>4</WarningLevel>
|
22
|
+
</PropertyGroup>
|
23
|
+
<ItemGroup>
|
24
|
+
<Reference Include="System" />
|
25
|
+
<Reference Include="System.Core" />
|
26
|
+
<Reference Include="System.Xml.Linq" />
|
27
|
+
<Reference Include="System.Data.DataSetExtensions" />
|
28
|
+
<Reference Include="Microsoft.CSharp" />
|
29
|
+
<Reference Include="System.Data" />
|
30
|
+
<Reference Include="System.Xml" />
|
31
|
+
</ItemGroup>
|
32
|
+
<ItemGroup>
|
33
|
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
34
|
+
</ItemGroup>
|
35
|
+
<ItemGroup>
|
36
|
+
<None Include="README.md" />
|
37
|
+
</ItemGroup>
|
38
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
39
|
+
</Project>
|
@@ -1,16 +1,16 @@
|
|
1
|
-
using System.Reflection;
|
1
|
+
using System.Reflection;
|
2
2
|
using System.Runtime.CompilerServices;
|
3
3
|
using System.Runtime.InteropServices;
|
4
4
|
|
5
5
|
// General Information about an assembly is controlled through the following
|
6
6
|
// set of attributes. Change these attribute values to modify the information
|
7
7
|
// associated with an assembly.
|
8
|
-
[assembly: AssemblyTitle("
|
8
|
+
[assembly: AssemblyTitle("EmptyProject")]
|
9
9
|
[assembly: AssemblyDescription("")]
|
10
10
|
[assembly: AssemblyConfiguration("")]
|
11
11
|
[assembly: AssemblyCompany("")]
|
12
|
-
[assembly: AssemblyProduct("
|
13
|
-
[assembly: AssemblyCopyright("Copyright ©
|
12
|
+
[assembly: AssemblyProduct("EmptyProject")]
|
13
|
+
[assembly: AssemblyCopyright("Copyright ©Albacore 2013")]
|
14
14
|
[assembly: AssemblyTrademark("")]
|
15
15
|
[assembly: AssemblyCulture("")]
|
16
16
|
|
@@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
|
|
20
20
|
[assembly: ComVisible(false)]
|
21
21
|
|
22
22
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
23
|
-
[assembly: Guid("
|
23
|
+
[assembly: Guid("ebabf1eb-2562-43d8-a346-2674b7204209")]
|
24
24
|
|
25
25
|
// Version information for an assembly consists of the following four values:
|
26
26
|
//
|
@@ -0,0 +1 @@
|
|
1
|
+
gem 'albacore', :path => '../..'
|
Binary file
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4
|
+
<PropertyGroup>
|
5
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
7
|
+
<SchemaVersion>2.0</SchemaVersion>
|
8
|
+
<ProjectGuid>c821e8b3-528b-40c4-88c2-57a1119da596</ProjectGuid>
|
9
|
+
<OutputType>Library</OutputType>
|
10
|
+
<RootNamespace>Project</RootNamespace>
|
11
|
+
<AssemblyName>Project</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
13
|
+
<Name>Project</Name>
|
14
|
+
<Authors>Henrik Feldt</Authors>
|
15
|
+
</PropertyGroup>
|
16
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
17
|
+
<DebugSymbols>true</DebugSymbols>
|
18
|
+
<DebugType>full</DebugType>
|
19
|
+
<Optimize>false</Optimize>
|
20
|
+
<Tailcalls>false</Tailcalls>
|
21
|
+
<OutputPath>bin\Debug\</OutputPath>
|
22
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
23
|
+
<WarningLevel>3</WarningLevel>
|
24
|
+
<DocumentationFile>bin\Debug\Project.xml</DocumentationFile>
|
25
|
+
</PropertyGroup>
|
26
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
27
|
+
<DebugType>pdbonly</DebugType>
|
28
|
+
<Optimize>true</Optimize>
|
29
|
+
<Tailcalls>true</Tailcalls>
|
30
|
+
<OutputPath>bin\Release\</OutputPath>
|
31
|
+
<DefineConstants>TRACE</DefineConstants>
|
32
|
+
<WarningLevel>3</WarningLevel>
|
33
|
+
<DocumentationFile>bin\Release\Project.xml</DocumentationFile>
|
34
|
+
</PropertyGroup>
|
35
|
+
<ItemGroup>
|
36
|
+
<Reference Include="mscorlib" />
|
37
|
+
<Reference Include="FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
38
|
+
<Private>True</Private>
|
39
|
+
</Reference>
|
40
|
+
<Reference Include="System" />
|
41
|
+
<Reference Include="System.Core" />
|
42
|
+
<Reference Include="System.Numerics" />
|
43
|
+
</ItemGroup>
|
44
|
+
<ItemGroup>
|
45
|
+
<Compile Include="Library1.fs" />
|
46
|
+
<None Include="Script.fsx" />
|
47
|
+
</ItemGroup>
|
48
|
+
<PropertyGroup>
|
49
|
+
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
|
50
|
+
</PropertyGroup>
|
51
|
+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" />
|
52
|
+
</Project>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
3
|
+
# Visual Studio 2012
|
4
|
+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Project", "Project.fsproj", "{C821E8B3-528B-40C4-88C2-57A1119DA596}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Any CPU = Debug|Any CPU
|
9
|
+
Release|Any CPU = Release|Any CPU
|
10
|
+
EndGlobalSection
|
11
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
12
|
+
{C821E8B3-528B-40C4-88C2-57A1119DA596}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
13
|
+
{C821E8B3-528B-40C4-88C2-57A1119DA596}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
14
|
+
{C821E8B3-528B-40C4-88C2-57A1119DA596}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
15
|
+
{C821E8B3-528B-40C4-88C2-57A1119DA596}.Release|Any CPU.Build.0 = Release|Any CPU
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(SolutionProperties) = preSolution
|
18
|
+
HideSolutionNode = FALSE
|
19
|
+
EndGlobalSection
|
20
|
+
EndGlobal
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<packages>
|
3
|
+
<package id="Intelliplan.Util" version="0.1.10" targetFramework="net40" />
|
4
|
+
<package id="Newtonsoft.Json" version="3.5.8" targetFramework="net40" />
|
5
|
+
<package id="NLog" version="2.0.0.2000" targetFramework="net40" />
|
6
|
+
</packages>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'albacore'
|
2
|
+
require 'albacore/ext/teamcity'
|
3
|
+
|
4
|
+
desc 'build the sample solution'
|
5
|
+
build :b do |b|
|
6
|
+
b.sln = 'TestingDependencies/Sample.sln'
|
7
|
+
end
|
8
|
+
|
9
|
+
directory 'pkg'
|
10
|
+
|
11
|
+
desc 'create some sweeet nugets'
|
12
|
+
nugets_pack :pack => [:b, 'pkg'] do |p|
|
13
|
+
p.files = FileList["./TestingDependencies/**/*.fsproj"]
|
14
|
+
p.out = './pkg'
|
15
|
+
p.exe = '../support/Nuget/NuGet.exe'
|
16
|
+
p.with_metadata do |m|
|
17
|
+
m.authors = 'Henrik'
|
18
|
+
m.version = '1.2.0'
|
19
|
+
m.description = 'this is awesome'
|
20
|
+
end
|
21
|
+
p.gen_symbols
|
22
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4
|
+
<PropertyGroup>
|
5
|
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6
|
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
7
|
+
<SchemaVersion>2.0</SchemaVersion>
|
8
|
+
<ProjectGuid>{8f108b6a-0fbe-4d6e-8daa-b5ba1429c925}</ProjectGuid>
|
9
|
+
<OutputType>Library</OutputType>
|
10
|
+
<RootNamespace>Sample.Commands</RootNamespace>
|
11
|
+
<AssemblyName>Sample.Commands</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13
|
+
<Name>Sample.Commands</Name>
|
14
|
+
</PropertyGroup>
|
15
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
16
|
+
<DebugSymbols>true</DebugSymbols>
|
17
|
+
<DebugType>full</DebugType>
|
18
|
+
<Optimize>false</Optimize>
|
19
|
+
<Tailcalls>false</Tailcalls>
|
20
|
+
<OutputPath>bin\Debug\</OutputPath>
|
21
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
22
|
+
<WarningLevel>3</WarningLevel>
|
23
|
+
<DocumentationFile>bin\Debug\Sample.Commands.xml</DocumentationFile>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
26
|
+
<DebugType>pdbonly</DebugType>
|
27
|
+
<Optimize>true</Optimize>
|
28
|
+
<Tailcalls>true</Tailcalls>
|
29
|
+
<OutputPath>bin\Release\</OutputPath>
|
30
|
+
<DefineConstants>TRACE</DefineConstants>
|
31
|
+
<WarningLevel>3</WarningLevel>
|
32
|
+
<DocumentationFile>bin\Release\Sample.Commands.xml</DocumentationFile>
|
33
|
+
</PropertyGroup>
|
34
|
+
<ItemGroup>
|
35
|
+
<Reference Include="FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
36
|
+
<HintPath>..\vendor\FSharp.Core.dll</HintPath>
|
37
|
+
<Private>True</Private>
|
38
|
+
</Reference>
|
39
|
+
<Reference Include="Magnum">
|
40
|
+
<HintPath>..\packages\Magnum.2.1.0\lib\NET40\Magnum.dll</HintPath>
|
41
|
+
<Private>True</Private>
|
42
|
+
</Reference>
|
43
|
+
<Reference Include="MassTransit">
|
44
|
+
<HintPath>..\packages\MassTransit.2.8.0\lib\net40\MassTransit.dll</HintPath>
|
45
|
+
<Private>True</Private>
|
46
|
+
</Reference>
|
47
|
+
<Reference Include="MassTransit.Transports.Msmq">
|
48
|
+
<HintPath>..\packages\MassTransit.2.8.0\lib\net40\MassTransit.Transports.MSMQ.dll</HintPath>
|
49
|
+
<Private>True</Private>
|
50
|
+
</Reference>
|
51
|
+
<Reference Include="mscorlib" />
|
52
|
+
<Reference Include="Newtonsoft.Json">
|
53
|
+
<HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net40\Newtonsoft.Json.dll</HintPath>
|
54
|
+
<Private>True</Private>
|
55
|
+
</Reference>
|
56
|
+
<Reference Include="System" />
|
57
|
+
<Reference Include="System.Core" />
|
58
|
+
<Reference Include="System.Numerics" />
|
59
|
+
</ItemGroup>
|
60
|
+
<ItemGroup>
|
61
|
+
<Compile Include="Library.fs" />
|
62
|
+
<None Include="Script.fsx" />
|
63
|
+
<None Include="packages.config" />
|
64
|
+
</ItemGroup>
|
65
|
+
<ItemGroup>
|
66
|
+
<ProjectReference Include="..\Sample.Core\Sample.Core.fsproj">
|
67
|
+
<Name>Sample.Core</Name>
|
68
|
+
<Project>{ac9756e1-86b7-4be4-9132-362e213a6b57}</Project>
|
69
|
+
<Private>True</Private>
|
70
|
+
</ProjectReference>
|
71
|
+
</ItemGroup>
|
72
|
+
<PropertyGroup>
|
73
|
+
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
|
74
|
+
</PropertyGroup>
|
75
|
+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" />
|
76
|
+
<Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="!Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll') And Exists('$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets')" />
|
77
|
+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll') And Exists('$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets') And !Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" />
|
78
|
+
</Project>
|