Skip to content

Developer tools and utilities for the Bayeux software suite

License

Notifications You must be signed in to change notification settings

BxCppDev/bxdevtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BxDevTools - Tools and utilities for package development and management

The bxdevtools package provides a collection of tools and utilities to assist BxDevCpp's software developers and users.

Some semi-automated procedures are available to manage Git based software development through a specific branch model.

  • Package management:
    • create a new software package with Git support
    • setup GitHub based origin for a package
  • Git branch management:
    • create a new feature branch (from the develop branch)
    • terminate a feature branch (merge back to the develop branch)
    • create a new release branch (from the develop branch)
    • terminate a release branch (merge back to the master and develop branches)
    • create a new hotfix branch (from develop or release branch)
    • terminate a hotfix branch
  • Tag management

Download

  1. From the directory of your choice (here ${HOME}):

    $ mkdir -p ${HOME}/BxDevTools
    $ cd ${HOME}/BxDevTools
    $ git clone https://github.com/BxCppDev/bxdevtools.git bxdevtools

Installation

WIP

  1. From the BxDevTools source directory:

    $ cd ${HOME}/BxDevTools/bxdevtools
    $ mkdir _build.d   # Create a build directory
    $ cd _build.d      # Cd in it
  2. Then configure:

    $ cmake -DCMAKE_INSTALL_PREFIX="${HOME}/BxDevTools/bxdevtools/install-devel" ..
  3. Build and install:

    $ make
    $ make install

Setup

You must define two environment variables in order to activate BxDevTools' utilities:

$ export PATH=_install.d/bin:${PATH}
$ export PYTHONPATH=$(bxdevtools-config --libdir):${PYTHONPATH}

In your .bashrc script, it is convenient to add:

function do_bxdevtools_devel_setup()
{
  if [ -n "${BXDEVTOOLS_INSTALL_PREFIX}" ]; then
    echo >&2 "[warning] do_bxdevtools_devel_setup: BxDevTools/devel is alreadry setup!"
    return 1
  fi
  export BXDEVTOOLS_INSTALL_PREFIX="/bxdevtools/installation/prefix"
  export PATH="${BXDEVTOOLS_INSTALL_PREFIX}/bin:${PATH}"
  export PYTHONPATH="$(bxdevtools-config --libdir):${PYTHONPATH}"
  echo >&2 "[info] do_bxdevtools_devel_setup: BxDevTools/devel is now setup!"
  return 0
}
alias bxdevtools_devel_setup='do_bxdevtools_devel_setup'

Invoking the following command will activate BxDevTools' utilities:

$ bxdevtools_devel_setup

About

Developer tools and utilities for the Bayeux software suite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published