Code Monkey home page Code Monkey logo

port_agent's Introduction

OOI C++ code

Prereqs
=======

For testing the google test framework and socat needs to be installed. 

On OS X:
brew install gtest
brew install gmock
brew install socat


Project setup
=============
This project is setup using automake and autoconf.  Every source directory 
needs a Makefile.am file.  Also each make file must exsist in the 
AC_CONFIG_FILES variable in the configure.ac file in the project source dir.

We are using the google test framework for unit testing.  Every source directory
should have a test directory.

Binary Releases
===============
Release are number in dotted format following the major/minor/bug versioning
scheme.  When making a modification to any source files you need to tag the
repository after all files are committed and checked in.  Make sure that if
you do make code modifications that you do a point release.

Procedure:
- run all tests
   * make check
- Release in a virtualenv with fabric installed. (makevirtualenv fab,
  easy_install fabric)
- workon fab (work in your fab virtualenv)
- fab release (following the prompts)

Deployment Instructions:

- fab ion_alpha deploy
- fab ion_beta deploy

Updating Makefile.am or configure.ac
====================================
Whenever Makefile.am or configure.ac are update files must be rebuild.  To do
this run:

$ autoreconf --force --install

When adding a new target library make sure to add the target to 
src/Makfile.am.inc.

Building the project
====================
$ ./configure --prefix=<install_dir>
$ make

# Run all tests
$ make check

# Install code
$ make install

# cleaning up
$ make clean

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.