Skip to content

Vaishnav-Sabari-Girish/sbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Sbor

sbor is a project manager for C inspired by cargo.

sbor means Collection in Russian.

Release

Functionalities

  1. sbor init : Initializes a new C project
  2. sbor add : Adds a new dependency (No need to add #include in main.c file, this will do it automatically)
  3. sbor remove : Removes a dependency
  4. sbor build : Builds the project and creates a new binary
  5. sbor run : Builds and runs the project
  6. sbor clean : Removed build artifacts

The dependencies are listed a configuration file (sbor.conf) which also contains the project metadata.

Since the dependencies have to be imported , they are also included in a separate include.h file which is included into the main.c file.

Commands List

help

Installation and Running

Using curl

curl -sSL https://raw.githubusercontent.com/Vaishnav-Sabari-Girish/sbor/refs/heads/main/install.sh | bash

For Powershell users

powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/Vaishnav-Sabari-Girish/sbor/refs/heads/main/install.ps1 | iex"

From Source

# Run cmake to generate the Makefile
cmake .

# Run make to generate the binary
make

# Run the binary
./sbor version

Using Homebrew

brew install Vaishnav-Sabari-Girish/taps/sbor

# Then Run

sbor version

Goals

Project Manager

  • Initialize a project using sbor init
  • Add dependencies using sbor add
  • Build the project using sbor build
  • Remove a dependency using sbor remove
  • Run the project using sbor run
  • Delete build artifacts using sbor clean
  • Add a quiet option for code running in sbor.conf (Run code in quiet mode)

Recordings

Initializing a project

init

Building a project

build

Running the project

Verbose Mode (Default)

run_verbose

Quiet Mode

run_quiet

Cleaning the project

clean

Adding and Removing headers

add_remove

Stargazers over time

stargazers badge