Permalink
Browse files

Converted to fuburake

  • Loading branch information...
1 parent 1859df1 commit ac5838a340706def5ba710ed957c2dbe57cb9eb6 @jmarnold jmarnold committed Jun 3, 2013
View
@@ -22,4 +22,6 @@ src/packages
src/*/repositories.config
.bottle-alias
results
-chromedriver.log
+chromedriver.log
+logs
+Gemfile.lock
View
@@ -1,3 +0,0 @@
-[submodule "buildsupport"]
- path = buildsupport
- url = git://github.com/DarthFubuMVC/buildsupport.git
View
@@ -0,0 +1,7 @@
+source 'http://rubygems.org'
+
+gem "rake", "~>10.0"
+gem "bundler", ">=1.3.5"
+gem "fuburake", "~>0.5"
+gem "ripple-cli", "~>2.0"
+gem "fubudocs", "~>0.9"
View
@@ -0,0 +1 @@
+jquery.continuations
View
@@ -0,0 +1 @@
+BUILD_VERSION = "1.1.0"
Submodule buildsupport deleted from d74703
View
@@ -1,37 +1,20 @@
-COMPILE_TARGET = ENV['config'].nil? ? "debug" : ENV['config']
+require 'bundler/setup'
+ require 'fuburake'
-buildsupportfiles = Dir["#{File.dirname(__FILE__)}/buildsupport/*.rb"]
+@solution = FubuRake::Solution.new do |sln|
+ sln.compile = {
+ :solutionfile => 'src/jquery.continuations.sln'
+ }
-if( ! buildsupportfiles.any? )
- # no buildsupport, let's go get it for them.
- sh 'git submodule update --init' unless buildsupportfiles.any?
- buildsupportfiles = Dir["#{File.dirname(__FILE__)}/buildsupport/*.rb"]
-end
-
-# nope, we still don't have buildsupport. Something went wrong.
-raise "Run `git submodule update --init` to populate your buildsupport folder." unless buildsupportfiles.any?
-
-include FileTest
-require 'albacore'
-
-PRODUCT = "jquery.continuations"
-COPYRIGHT = 'Copyright 2012 Joshua Arnold. All rights reserved.';
-
-buildsupportfiles = Dir["#{File.dirname(__FILE__)}/buildsupport/*.rb"]
-raise "Run `git submodule update --init` to populate your buildsupport folder." unless buildsupportfiles.any?
-buildsupportfiles.each { |ext| load ext }
-
-props = { :artifacts => File.expand_path("artifacts") }
+ sln.assembly_info = {
+ :product_name => "jQuery.continuations",
+ :copyright => 'Copyright 2008-2013 Jeremy D. Miller, Josh Arnold, et al. All rights reserved.'
+ }
-desc "**Default**"
-task :default => [:run]
-
-desc "Prepares the working directory for a new build"
-task :clean => [:update_buildsupport] do
- FileUtils.rm_rf props[:artifacts]
- # work around nasty latency issue where folder still exists for a short while after it is removed
- waitfor { !exists?(props[:artifacts]) }
- Dir.mkdir props[:artifacts]
+ sln.ripple_enabled = true
+ sln.fubudocs_enabled = true
+
+ sln.ci_steps = ["run_phantom"]
end
desc "Opens the Serenity Jasmine Runner in interactive mode"
@@ -41,16 +24,17 @@
end
desc "Runs the Jasmine tests"
-task :run => [:restore_if_missing] do
+task :run => [:compile] do
prep()
serenity "jasmine run --timeout 60 src/serenity.txt -b Firefox"
end
desc "Runs the Jasmine tests and outputs the results for TC"
-task :ci => [:clean, :restore_if_missing] do
+task :run_phantom => [:compile] do
prep()
serenity "jasmine run --verbose --timeout 60 src/serenity.txt -b Phantom"
- copyOutputFiles "src/jquery.continuations/content/scripts", "jquery.continuations.*", props[:artifacts]
+ artifacts = File.expand_path('artifacts', File.dirname(__FILE__))
+ copyOutputFiles "src/jquery.continuations/content/scripts", "jquery.continuations.*", artifacts
end
def prep()
@@ -60,21 +44,6 @@ def prep()
end
def self.serenity(args)
- serenity = Platform.runtime(Nuget.tool("Serenity", "SerenityRunner.exe"))
+ serenity = Platform.runtime(Nuget.tool("Serenity", "SerenityRunner.exe"), "v4.0.30319")
sh "#{serenity} #{args}"
-end
-
-def copyOutputFiles(fromDir, filePattern, outDir)
- Dir.glob(File.join(fromDir, filePattern)){|file|
- copy(file, outDir, :preserve => true) if File.file?(file)
- }
-end
-
-def waitfor(&block)
- checks = 0
- until block.call || checks >10
- sleep 0.5
- checks += 1
- end
- raise 'waitfor timeout expired' if checks > 10
end
View
@@ -1 +0,0 @@
-buildsupport\ripple.exe %*
View
@@ -5,8 +5,17 @@
<SourceFolder>src</SourceFolder>
<BuildCommand>rake</BuildCommand>
<FastBuildCommand>rake compile</FastBuildCommand>
- <Floats>
- <string>Serenity</string>
- <string>FubuMVC.Coffee</string>
- </Floats>
+ <DefaultFloatConstraint>Current</DefaultFloatConstraint>
+ <DefaultFixedConstraint>Current,NextMajor</DefaultFixedConstraint>
+ <Feeds>
+ <Feed Url="http://build.fubu-project.org/guestAuth/app/nuget/v1/FeedService.svc" Mode="Float" Stability="ReleasedOnly" />
+ <Feed Url="http://nuget.org/api/v2" Mode="Fixed" Stability="ReleasedOnly" />
+ <Feed Url="http://packages.nuget.org/v1/FeedService.svc" Mode="Fixed" Stability="ReleasedOnly" />
+ </Feeds>
+ <Nugets>
+ <Dependency Name="NUnit" Version="2.5.10.11092" Mode="Fixed" />
+ <Dependency Name="Serenity" Mode="Float" />
+ </Nugets>
+ <Groups />
+ <Nuspecs />
</ripple>
@@ -0,0 +1,38 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jquery.continuations", "jquery.continuations\jquery.continuations.csproj", "{93F50EAF-6763-43B9-BD6B-F4CC604156E0}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|x86 = Release|x86
+ Retail|Any CPU = Retail|Any CPU
+ Retail|Mixed Platforms = Retail|Mixed Platforms
+ Retail|x86 = Retail|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Release|Any CPU.Build.0 = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Release|x86.ActiveCfg = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Retail|Any CPU.ActiveCfg = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Retail|Any CPU.Build.0 = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Retail|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Retail|Mixed Platforms.Build.0 = Release|Any CPU
+ {93F50EAF-6763-43B9-BD6B-F4CC604156E0}.Retail|x86.ActiveCfg = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
@@ -2,4 +2,7 @@
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Role>application</Role>
<Name>jquery.continuations</Name>
+ <ContentFileSet Include="Content\*.*;*.config">
+ <DeepSearch>true</DeepSearch>
+ </ContentFileSet>
</package>
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("jquery.continuations")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Extend Health Inc")]
+[assembly: AssemblyProduct("jquery.continuations")]
+[assembly: AssemblyCopyright("Copyright © Extend Health Inc 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("49299a10-40a5-4b96-8ec0-0d3e771685fa")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,14 +1,14 @@
-sinon is lib/sinon-1.2.0.js
-amplify is lib/amplify.core.min.js
-
-ordered set core is
-lib/jquery-1.8.2.min.js
-lib/jquery.form.js
-amplify
-sinon
-
-continuations is jquery.continuations.js
-
-jquery.continuations.js requires core
-jquery.continuations.forms.js requires core, jquery.continuations.js
+sinon is lib/sinon-1.2.0.js
+amplify is lib/amplify.core.min.js
+
+ordered set core is
+lib/jquery-1.8.2.min.js
+lib/jquery.form.js
+amplify
+sinon
+
+continuations is jquery.continuations.js
+
+jquery.continuations.js requires core
+jquery.continuations.forms.js requires core, jquery.continuations.js
jquery.continuations.amplify.js requires core, jquery.continuations.js
@@ -1,58 +1,68 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{96708F03-3B28-4995-A76B-07F89D3B2FB2}</ProjectGuid>
- <OutputType>Library</OutputType>
- <RootNamespace>fake</RootNamespace>
- <AssemblyName>fake</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="FubuMVC.Coffee">
- <HintPath>..\packages\FubuMVC.Coffee.0.0.1.810\lib\net40\FubuMVC.Coffee.dll</HintPath>
- </Reference>
- <Reference Include="Serenity">
- <HintPath>..\packages\Serenity.0.9.8.117\lib\net40\Serenity.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <None Include="packages.config" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{93F50EAF-6763-43B9-BD6B-F4CC604156E0}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>jquery.continuations</RootNamespace>
+ <AssemblyName>jquery.continuations</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="content\scripts\jquery.continuations.amplify.js" />
+ <Content Include="content\scripts\jquery.continuations.forms.js" />
+ <Content Include="content\scripts\jquery.continuations.js" />
+ <Content Include="content\scripts\lib\amplify.core.min.js" />
+ <Content Include="content\scripts\lib\jquery-1.8.2.min.js" />
+ <Content Include="content\scripts\lib\jquery.form.js" />
+ <Content Include="content\scripts\lib\sinon-1.2.0.js" />
+ <Content Include="content\scripts\specs\jquery.continuations.amplify.spec.js" />
+ <Content Include="content\scripts\specs\jquery.continuations.forms.spec.js" />
+ <Content Include="content\scripts\specs\jquery.continuations.spec.js" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="continuations.script.config" />
+ <None Include="ripple.dependencies.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
</Project>
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
- <package id="FubuMVC.Coffee" version="0.0.1.810" targetFramework="net40" />
- <package id="Serenity" version="0.9.8.117" targetFramework="net40" />
-</packages>

0 comments on commit ac5838a

Please sign in to comment.