dev_tasks 0.0.35 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/artifacts.rb +0 -1
- data/lib/commands.rb +3 -3
- data/lib/console.rb +7 -7
- data/lib/dependencies.rb +7 -9
- data/lib/dev_tasks.rb +13 -6
- data/lib/spec.json +1 -1
- data/lib/timer.rb +16 -0
- data/spec/dependencies_spec.rb +23 -0
- data/spec/dev_tasks_spec.rb +18 -0
- data/spec/environment_spec.rb +8 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/test_data/csharp_project/JsonNet.Test.csproj +75 -0
- data/spec/test_data/csharp_project/JsonNet.csproj +79 -0
- data/spec/test_data/csharp_project/QcNet.csproj +82 -0
- data/spec/test_data/example.rb +2 -0
- data/spec/test_data/ruby_project/rakefile.rb +0 -0
- metadata +11 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54331ff863d7444bf59d8bdcfdac55cfbd9b73c7
|
4
|
+
data.tar.gz: 94844bca9cdef022c75717f0282e5cffba45d7c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d708081b039fa3e357ca4da0055656112985473ff6bec4af789010facea81f2e3aa798c0eda5727f525f99f99f4b1afab7e8be3ca08664c87dd91177df64098
|
7
|
+
data.tar.gz: e559d9bac655ceb5da0ec4d41be2d0db7ca0b728eb9adf083a7985b0e7409bb24a540692a692cfaded93cfb113db329725995c5ecace839583bca5c52ea7d1d8
|
data/lib/artifacts.rb
CHANGED
@@ -18,7 +18,6 @@ class Artifacts < Array
|
|
18
18
|
if(!assemblyName.nil? && !outputPath.nil? && !assemblyName.include?("Test"))
|
19
19
|
cs_dll = "#{outputPath}\\#{assemblyName}.dll".gsub("\\\\","\\").gsub('/','\\').gsub('\\','/')
|
20
20
|
|
21
|
-
puts "artifact " + cs_dll
|
22
21
|
self << cs_dll if(!self.include?(cs_dll))
|
23
22
|
|
24
23
|
# add in file dependencies
|
data/lib/commands.rb
CHANGED
@@ -18,15 +18,15 @@ class Commands < Hash
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def execute_command command
|
21
|
-
puts Color.
|
22
|
-
puts " "
|
21
|
+
puts " " + Color.green + command + Color.clear
|
23
22
|
|
24
23
|
if command.include?('<%') && command.include?('%>')
|
25
24
|
ruby = command.gsub("<%","").gsub("%>","")
|
26
25
|
eval(ruby)
|
27
26
|
else
|
28
|
-
|
27
|
+
out = `#{command}`
|
29
28
|
if $? != 0
|
29
|
+
puts out
|
30
30
|
raise Color.bright_yellow + "`" + Color.green + command + Color.bright_yellow + "`" + Color.clear +
|
31
31
|
" has exit code " + $?.to_s
|
32
32
|
end
|
data/lib/console.rb
CHANGED
@@ -3,16 +3,16 @@ require_relative './color.rb'
|
|
3
3
|
class Console
|
4
4
|
|
5
5
|
def self.announce_task_start task
|
6
|
-
line =
|
7
|
-
while(line.length < 80) do
|
8
|
-
|
9
|
-
end
|
6
|
+
line = Color.bold + Color.cyan + "[:" + task + "]" + Color.clear
|
7
|
+
#while(line.length < 80) do
|
8
|
+
# line = line + "="
|
9
|
+
#end
|
10
|
+
#puts " "
|
10
11
|
puts line + Color.clear
|
11
12
|
end
|
12
13
|
|
13
14
|
def self.announce_task_end task, elapsed_str
|
14
|
-
line =
|
15
|
-
" completed in " + Color.bright_green + elapsed_str + Color.clear
|
15
|
+
line = task + " completed in " + Color.green + elapsed_str + Color.clear
|
16
16
|
puts line + Color.clear
|
17
17
|
puts " "
|
18
18
|
end
|
@@ -23,7 +23,7 @@ class Console
|
|
23
23
|
max_length=max_length+1
|
24
24
|
index=0
|
25
25
|
hash.each do |name,value|
|
26
|
-
prefix = "#{indent}#{name.to_s}".rjust(max_length)
|
26
|
+
prefix = Color.bold + "#{indent}#{name.to_s}".rjust(max_length) + Color.clear
|
27
27
|
if value.kind_of?(Hash)
|
28
28
|
print_hash(prefix+" ",value)
|
29
29
|
elsif value.kind_of?(Array)
|
data/lib/dependencies.rb
CHANGED
@@ -23,10 +23,11 @@ class Dependencies < Hash
|
|
23
23
|
cs_file_deps=Array.new
|
24
24
|
Dir.glob("**/*.rb").each{|f|
|
25
25
|
text=File.read(f)
|
26
|
-
ruby_deps
|
27
|
-
cs_system_deps
|
28
|
-
cs_file_deps
|
26
|
+
ruby_deps=ruby_deps|Dependencies.ruby_dependencies(text)
|
27
|
+
cs_system_deps=cs_system_deps|Dependencies.csharp_system_dependencies(text)
|
28
|
+
cs_file_deps=cs_file_deps|Dependencies.csharp_file_dependencies(text)
|
29
29
|
}
|
30
|
+
|
30
31
|
self[:ruby]=ruby_deps.sort if(ruby_deps.length>0)
|
31
32
|
if(cs_system_deps.length > 0 || cs_file_deps.length > 0)
|
32
33
|
self["C#"]=Hash.new
|
@@ -36,17 +37,15 @@ class Dependencies < Hash
|
|
36
37
|
end
|
37
38
|
|
38
39
|
def self.ruby_dependencies source
|
39
|
-
|
40
|
-
deps=Array.new
|
40
|
+
result=Array.new
|
41
41
|
source.scan(/require '([\w\/]+)/).each{|m|
|
42
42
|
dep=m.first.to_s
|
43
|
-
|
43
|
+
result << dep if(!result.include?(dep))
|
44
44
|
}
|
45
|
-
|
45
|
+
return result
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.csharp_system_dependencies source
|
49
|
-
deps=Array.new
|
50
49
|
deps=Array.new
|
51
50
|
source.scan(/<Reference Include="([\w\.-]+)"[\s]+\//).each{|m|
|
52
51
|
dep=m.first.to_s
|
@@ -56,7 +55,6 @@ class Dependencies < Hash
|
|
56
55
|
end
|
57
56
|
|
58
57
|
def self.csharp_file_dependencies source
|
59
|
-
deps=Array.new
|
60
58
|
deps=Array.new
|
61
59
|
source.scan(/<HintPath>([\w\.\\\s-]+)</).each{|m|
|
62
60
|
dep=m.first.to_s
|
data/lib/dev_tasks.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'semver'
|
2
1
|
require 'rake'
|
3
2
|
require 'rake/clean'
|
4
3
|
require 'json'
|
@@ -9,12 +8,16 @@ require_relative './commands.rb'
|
|
9
8
|
require_relative './dependencies.rb'
|
10
9
|
require_relative './artifacts.rb'
|
11
10
|
require_relative './console.rb'
|
11
|
+
require_relative './timer.rb'
|
12
12
|
|
13
13
|
CLEAN.include("*.gem")
|
14
14
|
|
15
15
|
class DevTasks < Hash
|
16
16
|
|
17
|
+
attr_accessor :timer
|
18
|
+
|
17
19
|
def initialize
|
20
|
+
@timer = Timer.new
|
18
21
|
#hash = JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
|
19
22
|
#self[:dev_tasks_gem]=JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
|
20
23
|
|
@@ -42,17 +45,21 @@ class DevTasks < Hash
|
|
42
45
|
end
|
43
46
|
|
44
47
|
def execute_task task
|
45
|
-
|
48
|
+
timer=Timer.new
|
49
|
+
#start_time=Time.now
|
46
50
|
Console.announce_task_start task
|
47
51
|
if(!self[:commands].has_key?(task))
|
48
52
|
puts "no commands discovered for task " + task
|
49
53
|
else
|
50
54
|
self[:commands][task].each {|c| self[:commands].execute_command(c) }
|
51
55
|
end
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
+
elapsed = timer.elapsed
|
57
|
+
#end_time=Time.now
|
58
|
+
#elapsed=end_time-start_time
|
59
|
+
if elapsed > 30
|
60
|
+
elapsed_str="[" + "%.0f" %(elapsed) + "s]"
|
61
|
+
Console.announce_task_end task, elapsed_str
|
62
|
+
end
|
56
63
|
end
|
57
64
|
|
58
65
|
def define_task task_name
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.36"}
|
data/lib/timer.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require_relative '../lib/dependencies.rb'
|
2
|
+
|
3
|
+
describe Dependencies do
|
4
|
+
it "should be able to extract C# system dependencies" do
|
5
|
+
system_deps = Dependencies.csharp_system_dependencies File.read("#{File.dirname(__FILE__)}/test_data/csharp_project/JsonNet.Test.csproj")
|
6
|
+
expect(system_deps.length).to eq(7)
|
7
|
+
expect(system_deps.include?('System')).to eq(true)
|
8
|
+
expect(system_deps.include?('System.Xml')).to eq(true)
|
9
|
+
expect(system_deps.include?('Microsoft.CSharp')).to eq(true)
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should be able to extract C# file dependencies" do
|
13
|
+
system_deps = Dependencies.csharp_file_dependencies File.read("#{File.dirname(__FILE__)}/test_data/csharp_project/JsonNet.Test.csproj")
|
14
|
+
expect(system_deps.length).to eq(2)
|
15
|
+
expect(system_deps.include?('dep\github\lou-parslow\NetLibs\develop\NUnit\2.6.3\bin\framework\nunit.framework.dll')).to eq(true)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should be able to extract ruby dependencies" do
|
19
|
+
system_deps = Dependencies.ruby_dependencies File.read("#{File.dirname(__FILE__)}/test_data/example.rb")
|
20
|
+
expect(system_deps.length).to eq(2)
|
21
|
+
expect(system_deps.include?('json')).to eq(true)
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../lib/dev_tasks.rb'
|
2
|
+
|
3
|
+
describe Dependencies do
|
4
|
+
it "should be able to load example ruby project" do
|
5
|
+
Dir.chdir("#{File.dirname(__FILE__)}/test_data/ruby_project") do
|
6
|
+
ruby_dev_task=DevTasks.new
|
7
|
+
expect(ruby_dev_task[:name]).to eq('ruby_project')
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should be able to load example C# project" do
|
12
|
+
Dir.chdir("#{File.dirname(__FILE__)}/test_data/csharp_project") do
|
13
|
+
dev_task=DevTasks.new
|
14
|
+
expect(dev_task[:name]).to eq('csharp_project')
|
15
|
+
expect(dev_task[:artifacts].length).to eq(3)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="12.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
|
+
<ProjectGuid>{3D286CD8-6D09-426C-8059-1A50043885AB}</ProjectGuid>
|
8
|
+
<OutputType>Library</OutputType>
|
9
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
+
<RootNamespace>JsonNet</RootNamespace>
|
11
|
+
<AssemblyName>JsonNet.Test</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13
|
+
<FileAlignment>512</FileAlignment>
|
14
|
+
<TargetFrameworkProfile />
|
15
|
+
</PropertyGroup>
|
16
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
17
|
+
<DebugSymbols>true</DebugSymbols>
|
18
|
+
<DebugType>full</DebugType>
|
19
|
+
<Optimize>false</Optimize>
|
20
|
+
<OutputPath>bin\Debug\</OutputPath>
|
21
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
22
|
+
<ErrorReport>prompt</ErrorReport>
|
23
|
+
<WarningLevel>4</WarningLevel>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
26
|
+
<DebugType>pdbonly</DebugType>
|
27
|
+
<Optimize>true</Optimize>
|
28
|
+
<OutputPath>bin\Net4.0\</OutputPath>
|
29
|
+
<IntermediateOutputPath>obj\Net4.0\</IntermediateOutputPath>
|
30
|
+
<DefineConstants>TRACE</DefineConstants>
|
31
|
+
<ErrorReport>prompt</ErrorReport>
|
32
|
+
<WarningLevel>4</WarningLevel>
|
33
|
+
</PropertyGroup>
|
34
|
+
<ItemGroup>
|
35
|
+
<Reference Include="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
|
36
|
+
<SpecificVersion>False</SpecificVersion>
|
37
|
+
<HintPath>dep\github\lou-parslow\NetLibs\develop\NUnit\2.6.3\bin\framework\nunit.framework.dll</HintPath>
|
38
|
+
</Reference>
|
39
|
+
<Reference Include="QcNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d4f6c7a98d7682da, processorArchitecture=MSIL">
|
40
|
+
<SpecificVersion>False</SpecificVersion>
|
41
|
+
<HintPath>dep\github\lou-parslow\QcNet\develop\bin\Net4.0\QcNet.dll</HintPath>
|
42
|
+
</Reference>
|
43
|
+
<Reference Include="System" />
|
44
|
+
<Reference Include="System.Core" />
|
45
|
+
<Reference Include="System.Xml.Linq" />
|
46
|
+
<Reference Include="System.Data.DataSetExtensions" />
|
47
|
+
<Reference Include="Microsoft.CSharp" />
|
48
|
+
<Reference Include="System.Data" />
|
49
|
+
<Reference Include="System.Xml" />
|
50
|
+
</ItemGroup>
|
51
|
+
<ItemGroup>
|
52
|
+
<Compile Include="Factory_Test.cs" />
|
53
|
+
<Compile Include="JsonNet.Test.cs" />
|
54
|
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
55
|
+
<Compile Include="ValueQC.cs" />
|
56
|
+
<Compile Include="Value_Test.cs" />
|
57
|
+
</ItemGroup>
|
58
|
+
<ItemGroup>
|
59
|
+
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
60
|
+
</ItemGroup>
|
61
|
+
<ItemGroup>
|
62
|
+
<ProjectReference Include="JsonNet.csproj">
|
63
|
+
<Project>{ad4a8825-e043-4dc1-b945-756111e426a4}</Project>
|
64
|
+
<Name>JsonNet</Name>
|
65
|
+
</ProjectReference>
|
66
|
+
</ItemGroup>
|
67
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
68
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
69
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
70
|
+
<Target Name="BeforeBuild">
|
71
|
+
</Target>
|
72
|
+
<Target Name="AfterBuild">
|
73
|
+
</Target>
|
74
|
+
-->
|
75
|
+
</Project>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="12.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
|
+
<ProjectGuid>{AD4A8825-E043-4DC1-B945-756111E426A4}</ProjectGuid>
|
8
|
+
<OutputType>Library</OutputType>
|
9
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
+
<RootNamespace>JsonNet</RootNamespace>
|
11
|
+
<AssemblyName>JsonNet</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13
|
+
<FileAlignment>512</FileAlignment>
|
14
|
+
<TargetFrameworkProfile />
|
15
|
+
</PropertyGroup>
|
16
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
17
|
+
<DebugSymbols>true</DebugSymbols>
|
18
|
+
<DebugType>full</DebugType>
|
19
|
+
<Optimize>false</Optimize>
|
20
|
+
<OutputPath>bin\Debug\</OutputPath>
|
21
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
22
|
+
<ErrorReport>prompt</ErrorReport>
|
23
|
+
<WarningLevel>4</WarningLevel>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
26
|
+
<DebugType>pdbonly</DebugType>
|
27
|
+
<Optimize>true</Optimize>
|
28
|
+
<OutputPath>bin\Net4.0\</OutputPath>
|
29
|
+
<IntermediateOutputPath>obj\Net4.0\</IntermediateOutputPath>
|
30
|
+
<DefineConstants>TRACE</DefineConstants>
|
31
|
+
<ErrorReport>prompt</ErrorReport>
|
32
|
+
<WarningLevel>4</WarningLevel>
|
33
|
+
</PropertyGroup>
|
34
|
+
<PropertyGroup>
|
35
|
+
<SignAssembly>true</SignAssembly>
|
36
|
+
</PropertyGroup>
|
37
|
+
<PropertyGroup>
|
38
|
+
<AssemblyOriginatorKeyFile>JsonNet.snk</AssemblyOriginatorKeyFile>
|
39
|
+
</PropertyGroup>
|
40
|
+
<ItemGroup>
|
41
|
+
<Reference Include="System" />
|
42
|
+
<Reference Include="System.Core" />
|
43
|
+
<Reference Include="System.Xml.Linq" />
|
44
|
+
<Reference Include="System.Data.DataSetExtensions" />
|
45
|
+
<Reference Include="Microsoft.CSharp" />
|
46
|
+
<Reference Include="System.Data" />
|
47
|
+
<Reference Include="System.Xml" />
|
48
|
+
</ItemGroup>
|
49
|
+
<ItemGroup>
|
50
|
+
<Compile Include="Factory.cs" />
|
51
|
+
<Compile Include="Internal\Array.cs" />
|
52
|
+
<Compile Include="Internal\Base.cs" />
|
53
|
+
<Compile Include="Internal\Dynamic.cs" />
|
54
|
+
<Compile Include="Internal\Hash.cs" />
|
55
|
+
<Compile Include="Internal\IO.cs" />
|
56
|
+
<Compile Include="Internal\Primitive.cs" />
|
57
|
+
<Compile Include="Internal\Reader.cs" />
|
58
|
+
<Compile Include="Internal\ValueCompare.cs" />
|
59
|
+
<Compile Include="Internal\ValueEnumerator.cs" />
|
60
|
+
<Compile Include="Internal\ValueHashCode.cs" />
|
61
|
+
<Compile Include="Internal\ValuePropertyDescriptor.cs" />
|
62
|
+
<Compile Include="Internal\Writer.cs" />
|
63
|
+
<Compile Include="JsonNet.cs" />
|
64
|
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
65
|
+
<Compile Include="Value.cs" />
|
66
|
+
<Compile Include="ValueType.cs" />
|
67
|
+
</ItemGroup>
|
68
|
+
<ItemGroup>
|
69
|
+
<None Include="JsonNet.snk" />
|
70
|
+
</ItemGroup>
|
71
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
72
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
73
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
74
|
+
<Target Name="BeforeBuild">
|
75
|
+
</Target>
|
76
|
+
<Target Name="AfterBuild">
|
77
|
+
</Target>
|
78
|
+
-->
|
79
|
+
</Project>
|
@@ -0,0 +1,82 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project ToolsVersion="12.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
|
+
<ProjectGuid>{AD4A8825-E043-4DC1-B945-756111E426A4}</ProjectGuid>
|
8
|
+
<OutputType>Library</OutputType>
|
9
|
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
10
|
+
<RootNamespace>QcNet</RootNamespace>
|
11
|
+
<AssemblyName>QcNet</AssemblyName>
|
12
|
+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
13
|
+
<FileAlignment>512</FileAlignment>
|
14
|
+
<TargetFrameworkProfile />
|
15
|
+
</PropertyGroup>
|
16
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
17
|
+
<DebugSymbols>true</DebugSymbols>
|
18
|
+
<DebugType>full</DebugType>
|
19
|
+
<Optimize>false</Optimize>
|
20
|
+
<OutputPath>bin\Debug\</OutputPath>
|
21
|
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
22
|
+
<ErrorReport>prompt</ErrorReport>
|
23
|
+
<WarningLevel>4</WarningLevel>
|
24
|
+
</PropertyGroup>
|
25
|
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
26
|
+
<DebugType>pdbonly</DebugType>
|
27
|
+
<Optimize>true</Optimize>
|
28
|
+
<OutputPath>bin\Net4.0\</OutputPath>
|
29
|
+
<IntermediateOutputPath>obj\Net4.0\</IntermediateOutputPath>
|
30
|
+
<DefineConstants>TRACE</DefineConstants>
|
31
|
+
<ErrorReport>prompt</ErrorReport>
|
32
|
+
<WarningLevel>4</WarningLevel>
|
33
|
+
</PropertyGroup>
|
34
|
+
<PropertyGroup>
|
35
|
+
<SignAssembly>true</SignAssembly>
|
36
|
+
</PropertyGroup>
|
37
|
+
<PropertyGroup>
|
38
|
+
<AssemblyOriginatorKeyFile>QcNet.snk</AssemblyOriginatorKeyFile>
|
39
|
+
</PropertyGroup>
|
40
|
+
<ItemGroup>
|
41
|
+
<Reference Include="log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
|
42
|
+
<SpecificVersion>False</SpecificVersion>
|
43
|
+
<HintPath>dep\github\lou-parslow\NetLibs\develop\log4net\1.2.13\bin\net\4.0\release\log4net.dll</HintPath>
|
44
|
+
</Reference>
|
45
|
+
<Reference Include="System" />
|
46
|
+
<Reference Include="System.Core" />
|
47
|
+
<Reference Include="System.Net" />
|
48
|
+
<Reference Include="System.Xml.Linq" />
|
49
|
+
<Reference Include="System.Data.DataSetExtensions" />
|
50
|
+
<Reference Include="Microsoft.CSharp" />
|
51
|
+
<Reference Include="System.Data" />
|
52
|
+
<Reference Include="System.Xml" />
|
53
|
+
</ItemGroup>
|
54
|
+
<ItemGroup>
|
55
|
+
<Compile Include="ILog.cs" />
|
56
|
+
<Compile Include="Internal\BaseQC.cs" />
|
57
|
+
<Compile Include="Internal\Generic\ReferenceComparer.cs" />
|
58
|
+
<Compile Include="Internal\Generic\ReferenceMap.cs" />
|
59
|
+
<Compile Include="Internal\IComparableQC.cs" />
|
60
|
+
<Compile Include="Internal\IEnumerableQC.cs" />
|
61
|
+
<Compile Include="Internal\Log.cs" />
|
62
|
+
<Compile Include="Internal\ObjectQC.cs" />
|
63
|
+
<Compile Include="Internal\ReadQC.cs" />
|
64
|
+
<Compile Include="Internal\WriteQC.cs" />
|
65
|
+
<Compile Include="LogManager.cs" />
|
66
|
+
<Compile Include="QcNet.cs" />
|
67
|
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
68
|
+
<Compile Include="TestFixture.cs" />
|
69
|
+
</ItemGroup>
|
70
|
+
<ItemGroup>
|
71
|
+
<None Include="QcNet.snk" />
|
72
|
+
</ItemGroup>
|
73
|
+
<ItemGroup />
|
74
|
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
75
|
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
76
|
+
Other similar extension points exist, see Microsoft.Common.targets.
|
77
|
+
<Target Name="BeforeBuild">
|
78
|
+
</Target>
|
79
|
+
<Target Name="AfterBuild">
|
80
|
+
</Target>
|
81
|
+
-->
|
82
|
+
</Project>
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: semver
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,8 +98,18 @@ files:
|
|
112
98
|
- lib/environment.rb
|
113
99
|
- lib/publish.rb
|
114
100
|
- lib/test.rb
|
101
|
+
- lib/timer.rb
|
115
102
|
- lib/upgrade.rb
|
116
103
|
- lib/spec.json
|
104
|
+
- spec/dependencies_spec.rb
|
105
|
+
- spec/dev_tasks_spec.rb
|
106
|
+
- spec/environment_spec.rb
|
107
|
+
- spec/spec_helper.rb
|
108
|
+
- spec/test_data/example.rb
|
109
|
+
- spec/test_data/ruby_project/rakefile.rb
|
110
|
+
- spec/test_data/csharp_project/JsonNet.csproj
|
111
|
+
- spec/test_data/csharp_project/JsonNet.Test.csproj
|
112
|
+
- spec/test_data/csharp_project/QcNet.csproj
|
117
113
|
- LICENSE
|
118
114
|
- README
|
119
115
|
homepage: http://rubygems.org/gems/dev_tasks
|