Skip to content

Conversation

@janderland
Copy link
Owner

  • Added jsock repository as git submodule in test-projects/
  • Created GitHub Actions workflow to test Maker with jsock
  • Fixed 'file' function name conflict with GNU Make builtin (renamed to 'outputFile')
  • Fixed link flag ordering bug: libraries must come after object files in link command
  • Workflow builds jsock library and chat client as integration test

These changes ensure Maker works correctly with real-world projects.

janderland and others added 29 commits November 2, 2019 14:32
- ArgListener listens for arguments passed to the CLI utilities by make.
The arguments are transmitted via RPC.
- MakeExecution runs Make, pointing to the Maker makefile while also
mocking out the CLI utilities Make will be calling.
Using the Files type, it's very easy to quick build the directory
structure you need to simulate a C++ build.
RunRules no longer support abritrary dependencies. They now only depend
on the executable they run.
The `exec` and `slib` functions are no longer needed because
user-defined config doesn't call them anymore.
- Removed error checking because it hasn't been tested and adds
  complexity for little in retun.
- Removed config file definition as they aren't used.
This isn't required since we got the path by using find a moment
earlier.
Moved testing code into regular executable instead of using the
Golang testing framework.
Logging now is transmitted from readers to logger via a single channel
instead of via multiple channels. This seems to improve output ordering
and prevents the need for nilling channels.
- Added func for creating module makefile.
- Cleaned up code.
- Added breaking change to test. Need to update test data.
- Added jsock repository as git submodule in test-projects/
- Created GitHub Actions workflow to test Maker with jsock
- Fixed 'file' function name conflict with GNU Make builtin (renamed to 'outputFile')
- Fixed link flag ordering bug: libraries must come after object files in link command
- Workflow builds jsock library and chat client as integration test

These changes ensure Maker works correctly with real-world projects.
claude added 4 commits January 8, 2026 00:34
This merge brings in the convention-over-configuration approach:
- Removed central config.mkr requirement
- Auto-discovers modules by finding makefile in subdirectories
- Per-module makefiles with simple variable declarations
- Made all global config variables optional (using ?=)
- Removed config parsing (no longer needs parser.pl for operation)
- Added test framework for validation

Conflicts resolved:
- Updated rulesTempl to use 'ofile' (renamed from 'file' to avoid GNU Make builtin conflict)
- Removed runDeps parameter (not used in implicit_configuration)
…ilds

Bug fixes:
- Fixed mindepth from 1 to 2 to prevent recursive makefile inclusion
  (mindepth 1 includes files in current directory, causing infinite loop)

Workflow updates:
- Updated GitHub Actions workflow to use convention-based approach
- Workflow now creates per-module makefiles instead of using config.mkr
- Each module directory gets a simple makefile with 4 variables:
  moduleType, moduleDeps, moduleCompFlags, moduleLinkFlags

This completes the migration to convention over configuration!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants