Skip to content

Commit

Permalink
Merge pull request #31 from dazinator/develop
Browse files Browse the repository at this point in the history
Version 2 merge to master.
  • Loading branch information
dazinator committed Dec 13, 2015
2 parents c00df06 + 4707fcf commit ff57da8
Show file tree
Hide file tree
Showing 142 changed files with 37,463 additions and 481 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@

/src/DnnPackager/obj
/src/DnnPackager/bin
/src/DnnPackager.Tasks/bin
/src/DnnPackager.Tasks/obj
/src/DnnPackager.TestModule/bin
/src/DnnPackager.TestModule/obj
/src/DnnPackager.Tests/bin
/src/DnnPackager.Tests/obj
/src/.vs
2 changes: 2 additions & 0 deletions GitVersionConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
assembly-versioning-scheme: MajorMinorPatch
branches: {}
Binary file not shown.
Binary file not shown.
1,390 changes: 1,390 additions & 0 deletions lib/CommandLineParser.1.9.71/lib/net35/CommandLine.xml

Large diffs are not rendered by default.

Binary file not shown.
1,390 changes: 1,390 additions & 0 deletions lib/CommandLineParser.1.9.71/lib/net40/CommandLine.xml

Large diffs are not rendered by default.

Binary file not shown.
1,390 changes: 1,390 additions & 0 deletions lib/CommandLineParser.1.9.71/lib/net45/CommandLine.xml

Large diffs are not rendered by default.

79 changes: 79 additions & 0 deletions lib/CommandLineParser.1.9.71/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
Command Line Parser Library 1.9.71.2 stable
------------------------------------------
Giacomo Stelluti Scala
([email protected])

GitHub (Latest Sources, Updated Docs): https://github.com/gsscoder/commandline
Codeplex (Binary Downloads): http://commandline.codeplex.com/

Remarks:
- IParser and IParserSettings interface were removed.

Upgrading from < 1.9.6.1 rc1:
-----------------------------
Now CommandLine.Parser is defiend as:
interface CommandLine.Parser {
bool ParseArguments(string[] args, object options);
bool ParseArguments(string[] args, object options, Action<string, object> onVerbCommand);
bool ParseArgumentsStrict(string[] args, object options, Action onFail = null);
bool ParseArgumentsStrict(string[] args, object options, Action<string, object> onVerbCommand, Action onFail = null);
}
Please refer to wiki (https://github.com/gsscoder/commandline/wiki).
For help screen in verb command scenario use new HelpText::AutoBuild(object,string).

Upgrading from < 1.9.4.91 versions:
-----------------------------------
- Use System.Char for short name:
[Option('o', "my-option", DefaultValue=10, HelpText="This is an option!")]
public int MyOption { get; set; }
- Receive parsing errors without CommandLineOptionsBase (removed):
public class Options {
[ParserState]
public IParserState LastParserState { get; set; }
}
- Types rename:
MultiLineTextAttribute -> MultilineTextAttribute (first 'L' -> lowercase)
CommandLineParser -> Parser (suggestion: qualify with namespace -> CommandLine.Parser).
ICommandLineParser -> IParser
CommandLineParserSettings -> ParserSettings
CommandLineParserException -> ParserException

Upgrading from 1.8.* versions:
------------------------------
The major API change is that all attributes that inherits from BaseOptionAttribute now
apply only to properties. Fields are no longer supported.

Old Code:
---------
class Options {
[Option("o", "my-option", HelpText="This is an option!")]
public int MyOption = 10;
}

New Code:
---------
class Options {
[Option("o", "my-option", DefaultValue=10, HelpText="This is an option!")]
public int MyOption { get; set; }
}

As you can see I've added the new DefaultValue property to help you initialize properties.

Shortcut for Help Screen
------------------------
[HelpOption]
public string GetUsage()
{
return HelpText.AutoBuild(this,
(HelpText current) => HelpText.DefaultParsingErrorsHandler(this, current));
}

Note:
-----
If you don't use mutually exclusive options, now there's a singleton built for common uses:

if (CommandLineParser.Default.ParseArguments(args, options)) {
// consume values here
}

Have fun!
18 changes: 0 additions & 18 deletions lib/MSBuildTasks.1.4.0.61/MSBuildTasks.1.4.0.61.nuspec

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file added lib/NUnit.2.6.4/NUnit.2.6.4.nupkg
Binary file not shown.
Binary file added lib/NUnit.2.6.4/lib/nunit.framework.dll
Binary file not shown.
10,984 changes: 10,984 additions & 0 deletions lib/NUnit.2.6.4/lib/nunit.framework.xml

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions lib/NUnit.2.6.4/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Copyright � 2002-2014 Charlie Poole
Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
Copyright � 2000-2002 Philip A. Craig

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.

Portions Copyright � 2002-2014 Charlie Poole or Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright � 2000-2002 Philip A. Craig

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.
Binary file added lib/RhinoMocks.3.6.1/RhinoMocks.3.6.1.nupkg
Binary file not shown.
Binary file added lib/RhinoMocks.3.6.1/lib/net/Rhino.Mocks.dll
Binary file not shown.
Loading

12 comments on commit ff57da8

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 62 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0+36 outcome was SUCCESS
Summary: Running Build time: 00:00:07

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 86 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0 outcome was SUCCESS
Summary: Running Build time: 00:00:13

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 100 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0 outcome was SUCCESS
Summary: Running Build time: 00:00:06

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 103 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0 outcome was SUCCESS
Summary: Running Build time: 00:00:14

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 117 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0 outcome was SUCCESS
Summary: Running Build time: 00:00:17

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 126 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.0 outcome was SUCCESS
Summary: Running Build time: 00:00:12

Please sign in to comment.