Skip to content
Small poorly designed bash scripts to handle makefile and cmake templates
Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
COPYING
README.md
bash_aliases
bashrc
getmake-add.sh
getmake-cat.sh
getmake-edit.sh
getmake-ls.sh
getmake-rm.sh
getmake.sh

README.md

getmake

getmake is a small group of poorly set bash scripts to facilitate makefile and Cmakefile integration with projects

LICENSE GPLv3

see COPYING file for more information about it

SETTING UP

most linux distribuitions have a .bashrc file in the user home directory, if yours doesn't you will need to make your own some distros like debian use that file for some configurations if you don't want to mix your alias with the distros ones, look at bashrc in this repository it shows what you need there so you can do your alias in a seperate .bash_aliases file

either way the alias you need to include in your file are all in .bash_aliases in this repository

your template code should live in a your home directory /Templates/code later versions will allow automatic install and configure everything for you, however for now if you want changes you need to manually by editing the .sh files

make a directory in home directory:

  • mkdir .getmake

add the following list of files in there

  • getmake.sh
  • getmake-ls.sh
  • getmake-add.sh
  • getmake-rm.sh
  • getmake-cat.sh
  • getmake-edit.sh

now you need to give them permission so they can run properly

chmod +x getmak*

and now should all be set, when you open new terminals all should be working

quick tour

  • getmake-ls | lists your templates
  • getmake-cat filename | shows the contents of filename in templates
  • getmake-rm filename | removes filename from templates
  • getmake-add file_to_add template_name
  • getmake-edit "editor and flags" filename
Something went wrong with that request. Please try again.