Coder Social home page Coder Social logo

logirel's Introduction

Let's try and make a gem to create .Net projects easily.

Getting started

  1. gem install logirel
  2. Go to the project of your choice
  3. logirel
  4. You should now answer the questions that logirel poses.
  5. after it's done, run rake.

Apache 2 Licensed

Hacking it

  1. git clone https://[email protected]/haf/logirel.git
  2. bundle install
  3. bundle exec rspec spec

My thinking

Some problems I want to solve with this project;

  • (bundler/semver/rake/gems) having foundations for semver, rake for builds and nuget for packaging.
  • (logirel) easily adding structure to a solution folder created with Visual Studio logirel init
  • (gitflow) using "a successful branching model"
  • (logirel/teamcity) continuous integration friendly with 'environments' and transform files for e.g. config files
  • (logirel) easily updating buildscripts from a git repository gem update ; logirel update
  • ensuring correct versions of build script dependencies
  • (nuget/owrap/symbolserver.org) ensuring correct versions of source code dependencies
  • (gitflow) nicely tagging your source trees corresponding to semver
  • nuget :nuget do |n|; 'git ls-files'.split("\n").each{ |f| n.file f }; end create a nuget item with just files

TODO list

  1. make the core functionality solid
  2. sample configuration settings for team city to build from github
  3. build rake tasks invoking semver with ruby that integrate with teamcity
  4. try the gem out on the transactions, auto tx and nhibernate facility projects
  5. create some guidance - links mostly on how to set up a gemserver locally

A note about aims

The aim is not to replace nuget nor owrap. This is will principally be a gem for setting up a great rakefile and versioning the package through rake and continuous integration and publishing the artifacts.

Nuget and OpenWrap don't integrate with continuous integration environments. They don't assist in creating a nice build environment. With them, it's up to yourself to implement a build script that follows semantic versioning.

Often I encounter .Net open source projects that I want to use. Because I'm increasingly writing SOA code where each service is on its own, communicating through events/EDA and commands, I need to quickly be able to set up a build environment for those projects and make sure I can version the dependencies properly. Right now, hacking build scripts, is taking too much time. For example, it should be very easy to create .Sample projects for nuget, so that people can learn about my frameworks, but the overhead of managing another build is too large.

Shoulders of Giants

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.