Skip to content

Remove 'godag' requirement for building chunkymonkey #63

@jnwhiteh

Description

@jnwhiteh

I've made a change in my fork that removes the dependency on the 'godag' program for building chunkymonkey. Instead we will be using gb, which has the advantage that it can produce scripts and Makefiles that allow anyone to build the software without installing additional software.

The structure is a bit more stringent, with everything that is a package under pkg and everything that produces a command under cmd. This also makes it a bit more obvious when looking at the source where in the package hierarchy something lies. I've included a script that will update the build scripts.

Basic usage (all commands run in src)

 # clean everything
 gb -c
 # clean then build
 gb -cb
 # build only pkg
 gb -Pb
 # build only cmd
 gb -Cb

The scripts included work as well without using gb:

 # clean everything
 ./build.sh clean
 # build everything
 ./build.sh
 # build only pkg
 ./build-pkg.sh
 # build only cmd
 ./build-cmd.sh

Take a look at master on my fork and see what you think. I think its an improvement, hopefully I'm not the only one. Don't bother trying to pull, just let me know and I'll push it to the main repository if its okay.

The master Makefile at the root needs to be updated or removed, it likely will not work any longer but I wasn't sure where we wanted those targets to end up.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions