forked from ooici/port_agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
66 lines (48 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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