generator-c-bones

0.0.2 • Public • Published

c-bones

Project Status travis Build status codecov Codacy Badge npm version npm download

A yeoman generator for C++ projects using Meson.

Introduction

c-bones is a yeoman generator for C++-projects that use Meson as build tool. c-bones creates a project that uses

  • a prototype meson.build file that uses Boost as dependency,
  • a custom valgrindrc and an oppinioated clang-format
  • badges for the project status, build status using Travis CI and code coverage,
  • a prototype main.cpp and test suite file,
  • custom README.md, TODO.md and VERSIONS.md files,
  • standard software development config and GitHib files like travis.yml, codecov.yml, gitignore and gitattributes,
  • a GPL3 license.

The resulting folder-structure looks like this:

    |____.clang-format
    |____.codecov.yml
    |____.gitattributes
    |____.gitignore
    |____.travis.yml
    |____.valgrindrc
    |____.yo-rc.json
    |____LICENSE
    |____README.md
    |____VERSIONS.md
    |____TODO.md
    |____meson.build
    |____src
    | |____clazz.hpp
    | |____clazz.cpp
    | |____main.cpp
    |____tests
    | |____test_clazz.cpp
    | |____test.cpp

Installation

Yeoman comes with npm, so install it first and then call:

  npm install -g yo
  npm install -g generator-c-bones

Once you have the package, you can create a scaffold using:

  yo c-bones

This builds the skeleton. Afterwards modify the sources and build your project.

Author

Package Sidebar

Install

npm i generator-c-bones

Weekly Downloads

9

Version

0.0.2

License

GPL-3.0

Unpacked Size

90.3 kB

Total Files

30

Last publish

Collaborators

  • dirmeier