MCPcopy Index your code
hub / github.com/Dids/clobber

github.com/Dids/clobber @v0.3.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.8 ↗ · + Follow
84 symbols 206 edges 15 files 65 documented · 77%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status

Clobber

Clobber is command-line application for building Clover.

Requirements

Note that when you run clobber for the first time, it may prompt you to install JDK, saying javac is missing, but you can safely ignore this prompt.
The reason for this prompt comes from building gettext, so it's an unfortunate side effect that we can't do anything about.

Installation

brew tap Dids/brewery
brew install clobber

You can also install the latest development version:

brew install clobber --HEAD

If you want to use gcc instead of Xcode as the toolchain, install clobber with the following flag:

brew install clobber --with-gcc

Usage

Build the latest version of Clover:

clobber

Build a specific Clover version/revision:

clobber --revision 1234

Build Clover with a different toolchain:

clobber --toolchain GCC53

View all the available options:

clobber --help

Development

Install/build dependencies:

make deps

Run the application:

go run main.go

Run tests:

make test

Creating new buildpkg.sh patches:
1. Make a copy of buildpkg.sh and name it buildpkg_patched.sh (it can be found in ~/.clobber/src/edk2/Clover/CloverPackage/package)
2. Make the required changes to buildpkg_patched.sh
3. Create a new patch with the following command:

diff -Naru ~/.clobber/src/edk2/Clover/CloverPackage/package/buildpkg.sh ~/.clobber/src/edk2/Clover/CloverPackage/package/buildpkg_patched.sh > patches/buildpkg.patch

Creating new ebuild.sh patches:
1. Make a copy of ebuild.sh and name it ebuild_patched.sh (it can be found in ~/.clobber/src/edk2/Clover)
2. Make the required changes to ebuild_patched.sh
3. Create a new patch with the following command:

diff -Naru ~/.clobber/src/edk2/Clover/ebuild.sh ~/.clobber/src/edk2/Clover/ebuild_patched.sh > patches/ebuild.patch

License

See LICENSE.

Core symbols most depended-on inside this repo

GetCloverPath
called by 33
util/root.go
formatSpinnerText
called by 32
cmd/root.go
runCommand
called by 29
cmd/root.go
GetSourcePath
called by 20
util/root.go
GenerateTimeString
called by 7
util/root.go
DownloadFile
called by 6
util/root.go
GetClobberPath
called by 5
util/root.go
GetLogFilePath
called by 4
util/root.go

Shape

Function 45
Method 29
Struct 10

Languages

Go100%

Modules by API surface

util/root.go16 symbols
cmd/root.go11 symbols
snake/score.go9 symbols
util/root_test.go8 symbols
snake/game.go8 symbols
snake/core.go8 symbols
snake/snake.go7 symbols
snake/level.go7 symbols
snake/event.go2 symbols
snake/apple.go2 symbols
patches/root_test.go2 symbols
patches/root.go1 symbols

For agents

$ claude mcp add clobber \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact