1.0.0-rc.5 • Published 8 years ago

generator-condo v1.0.0-rc.5

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
8 years ago

generator-condo

A Yeoman Generator for Condo

Vitals

InfoBadges
VersionVersion
LicenseLicense
DownloadsNPM Downloads
Build StatusTravis Build Status
ChatJoin Chat

Getting Started

What is Condo?

Condo is a cross-platform command line interface (CLI) build system for projects using the .NET Core Framework. It is capable of automatically detecting and executing all of the steps necessary to make a DNX project function correctly, including, but not limited to:

  • Automatic semantic versioning
  • Restoring package manager dependencies (NuGet, NPM, Bower)
  • Executing default task runner commands (Grunt, Gulp)
  • Compiling projects and test projects
  • Executing unit tests
  • Packing NuGet packages
  • Pushing (Publishing) NuGet packages

These are just some of the most-used features of the build system. For more information, please refer to the official documentation.

Using Condo

  1. Make sure that you have Yeoman installed:

    npm install -g yo
  2. Install the Condo generator:

    npm install -g generator-condo
  3. Initiate the generator:

    yo condo
  4. Run the build:

    OS X / Linux:

    ./build.sh

    Windows (CLI):

    build

    Windows (PoSH):

    ./build.ps1

Options

The generator allows you to specify several options, which results in a customized experience.

Source Folder Name

The name of the folder where you intend to add one or more projects to your "solution".

Default Value: (src)

This value is used to set the projects property in the resulting global.json file.

Test Folder Name

The name of the folder where you intend to add one or more test projects to your "solution".

Default Value: (test)

This value is used to set the projects property in the resulting global.json file.

Project Name

The name of your project.

Default Value: name of the folder in which the generator was executed

This value is set in the resulting make.shade file, which is subsequently used to set the project name in assemblies built by condo. It is also used as the name of the solution and ReSharper settings files (if included).

Simple Version

Default Value: 1.0.0

This value is set in the resulting make.shade file, which is subsequently used to generate and set the semantic version in assemblies built by condo.

Company Name

Default Value: My Company

This value is set in the resulting make.shade file, which is subseqently used to generate and set the company name in assemblies built by condo. It is also used to set the name of the company in the file header template within the ReSharper settings file (if included).

Runtime

Default Value: CoreCLR

This value is used to set the sdk property in the resulting global.json file.

Inclusions

All of the inclusions identified below are enabled by default to make it as easy as possible to get started with a new project. That being said, we are fully aware that most of these inclusions are highly subjective. For the control freaks among us (ourselves included), you can inverse this situation (all includes off by default) when you execute the condo generator:

yo condo --includes false
  • Solution File: A solution file (sln) used to open the project in Visual Studio on Windows.
  • ReSharper Settings: Settings file (sln.DotSettings) used to configure ReSharper on Windows with some basic recommendations.
  • Editor Configuration: A configuration file (.editorconfig) used to configure plain-text editors that support the standard.
  • Visual Studio Code Settings: A settings file (.vscode/settings.json) used to configure Visual Studio Code.
  • Git Ignore: An ignore file (.gitignore) used to ignore artifacts created by condo in addition to many other build-time artifacts. - This is based on the gitignore project.
  • Git Attributes: An attributes file (.gitattributes) used to configure cross-platform management of file types within a git repository.
  • JSHint: A hint file (.jshintrc) used to configure JSHint and auto-completion toolsets in various editors.

CLI Options

  • --includes : A value indicating whether or not to enable includes.

Questions or Comments?

For questions or comments related to the generator, please open an issue on the condo-generator repository on GitHub.

For questions or comments related to condo itself, please open an issue on the condo repository on GitHub.

Copyright and License

©. PulseBridge, Inc. and contributors. Distributed under the APACHE 2.0 license. See LICENSE and CREDITS for details.

1.0.0-rc.5

8 years ago

1.0.0-rc.4

8 years ago

1.0.0-rc.3

8 years ago

1.0.0-rc.2

8 years ago

1.0.0-rc.1

8 years ago

1.0.0-beta.6

9 years ago

1.0.0-beta.5

9 years ago

1.0.0-beta.4

9 years ago

1.0.0-beta.3

9 years ago

1.0.0-beta.2

9 years ago

1.0.0-beta.1

9 years ago

1.0.0-alpha.5

9 years ago

1.0.0-alpha.4

9 years ago

1.0.0-alpha.3

9 years ago

1.0.0-alpha.2

9 years ago

1.0.0-alpha.1

9 years ago