Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lakshagg/maker
A simple program to help you compile your programs. You can create sets of files as well.
https://github.com/lakshagg/maker
maker
Last synced: about 2 months ago
JSON representation
A simple program to help you compile your programs. You can create sets of files as well.
- Host: GitHub
- URL: https://github.com/lakshagg/maker
- Owner: LakshAgg
- Created: 2022-03-25T08:24:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T07:07:15.000Z (over 2 years ago)
- Last Synced: 2023-08-11T19:26:34.574Z (over 1 year ago)
- Topics: maker
- Language: C
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maker
This is a simple and useless program which lets you compile programs. You can create configurations for different commands. You can also group files by making sets which can be included in your programs.## Installation
Execute:
```
gcc main.c Basic.c Exception/Exception.c Strings/String.c -o Maker
```
And add the file Maker to your environment paths.## Usage
You can print all the commands with their use by `Maker -h`.## Sets
Sets are just collection of files. You can create sets for any files and include them in any project by just adding the set.Sets can be created by: `Maker add_file [set] [file_name]`. This will add the file if set exists or creates the set.
Sets can be printed by: `Maker print_sets`.
Files in a set can be printed by: `Maker print_files [set]`. This will print the files in the set with their index.
File can be removed from a set by: `Maker remove_file [set] [index]`. Index can be obtained by printing the files.
Complete set can be deleted by: `Maker remove_set [set]`.
## Config
For every project you can create configurations. Example: for testing. This will let you keep commands saparated for different purposes.A config can be set or created by: `Maker set_config [config name]`. You can set a complete command by `Maker set_config [config_name] "[command]"`, this will treat the first word as the compiler / program to run, and other words as arguments.
Last set config can be printed by `Maker print_config`;
For every config you need to specify compiler by: `Maker set_compiler [compiler]`. You can print the set compiler by `Maker print_compiler`.
`Maker` simply compiles the last set config.
`Maker [config_name] [config_name] ...` simply compiles the configs.In every config source files can be added by: `Maker add_file [file]`. This will add file to the last set config.
Files of a config can be printed by: `Maker print_files`. This will print all the files of last set config with their index.
File can be removed from a config by: `Maker remove_file [index]`. This will remove file from the last set config.
Similarly sets operations are: `add_set [set]` `print_sets_added` `remove_set_added [id]`.
Similarly argument operations are: `add_argument [argument]` `print_arguments` `remove_argument [id]`.