Permalink
Browse files

Cleanup and make.bat file

  • Loading branch information...
serialseb committed Jan 22, 2012
1 parent e6788fa commit 177cd0ccaecc2e5f892574e0a0bdbcb1689bb797
Showing with 49 additions and 1 deletion.
  1. +48 −0 build/build.proj
  2. +1 −0 make.bat
  3. +0 −1 openwrap.something.wrapdesc
View
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="3.5" InitialTargets="_Initialize">
+ <PropertyGroup>
+ <OpenWrap-BuildTasksDirectory>$(MSBuildProjectDirectory)\..\wraps\openwrap\build</OpenWrap-BuildTasksDirectory>
+ </PropertyGroup>
+
+ <Target Name="_Initialize">
+
+ <!-- Initializes the environment and remote repositories -->
+
+ <InitializeOpenWrap CurrentDirectory="$(MSBuildProjectDirectory)\..\" CurrentProjectFile="$(MSBuildProjectFullPath)">
+ <Output TaskParameter="Name" PropertyName="OpenWrap-PackageName" />
+ </InitializeOpenWrap>
+
+
+ </Target>
+ <Target Name="Build" DependsOnTargets="_Initialize">
+
+
+ <!-- Builds the package -->
+
+ <RunCommand
+ Verb="build"
+ Noun="wrap" />
+
+
+ </Target>
+
+ <Target Name="Publish" DependsOnTargets="Build">
+
+ <!-- Deploys the package -->
+
+
+ <PropertyGroup>
+ <PublishArguments>
+ <Name>$(OpenWrap-PackageName)</Name>
+ <Remote>file://galaxy.caffeine-it.net/packages</Remote>
+ </PublishArguments>
+ </PropertyGroup>
+
+
+ <RunCommand
+ Verb="publish"
+ Noun="wrap"
+ Args="$(PublishArguments)" />
+ </Target>
+ <Import Project="..\wraps\openwrap\build\OpenWrap.tasks"/>
+</Project>
View
@@ -0,0 +1 @@
+%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe build\build.proj
@@ -1 +0,0 @@
-depends: openrasta-core

0 comments on commit 177cd0c

Please sign in to comment.