Categorygithub.com/irlalan/gcreate
repositorypackage
0.0.0-20250128000906-a7154a8204d4
Repository: https://github.com/irlalan/gcreate.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

gcreate

The idea of this project is to make a project manager and creator for C++ in golang.

The main functions of gcreate will be to create new projects and build/run them; it should be able to read (mostly, hopefully) with cmake and conan2.

Install

To build the program call: make build you can then use it in the bin folder as an executable

To install the program call: make install and it will be added to path with the templates folder in your config/cppconfig folder

Cmdline Usage

For help, gcreate help or gcrete

To create a new project run: gcreate new <project_name>

To build a project go to the root directory with config.toml file and run: gcreate build

To run a project go to the root directory with config.toml file and run: gcreate run

To download the packages go to the root directory with config.toml file and run gcreate get_packages

Config.toml

Tests

All the tests are located in the tests/ directory.

To run all tests navigate to the test/ directory and use the command: go test

To run individual tests use the command go test -run <test func name>

TODO:

  • Create Marshler so I can correctly output default config file
  • fix current tests
  • Refactor code & add more tests
  • Check if file has been changed and if it has re-build only that one
  • Create custom logs i.e. output to file
  • add support for specific flags i.e. compile_commands.json
  • serialise into make files
  • handle calls to github for package download
    • clone git repos in packages
    • clone using tags/branches