Skip to content

Implement Makefile for ONSAS development workflow #774

@mvanzulli

Description

@mvanzulli

Create a Makefile to automate common development tasks for ONSAS, improving developer experience and ensuring consistent workflows across different environments. Should include:

1. Testing

  • Create targets for running tests with different engines: (Consider Add parallel test execution option
    )
    • make test (default: runs with Octave)
    • make test ENGINE=matlab (runs with MATLAB)
    • make test EXAMPLE=.. (can be used to run an specific example)

2. Documentation Building

  • Create make docs target to build documentation
  • Add make docs-clean to remove built docs

3. Cleanup Operations

  • Create make clean target to remove:
    • All .vtk files
    • Temporary files (*.mat, *.tmp)
    • Build artifacts
    • Test output files

4. Code Quality

  • Add make format target to run code formatter
  • Add make lint for code style checks
  • Add make check to run all code quality tools

5. Development Environment

  • Add make setup to initialize development environment
  • Add make update to update dependencies
  • Add make header automate header and licesne update

WDYT @jorgepz ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions