Bash script to make any text file for programming
Yeah me too. Well I thought it would be fun to make some scripts that run files for me. I can choose which files I would like to make, and what they should be called. Keep in mind that they just make some basic files.
Quick explanation?
Clone the repoi
git clone https://github.com/srepollock/template-grader ~/.templater
to the ~/.templater
file.
Now set permissions to your ~/.templater/install.sh
with
chmod a+x ~/.templater/install.sh
And finally run ~/.tempalter/install.sh
~/.templater/install.sh
That's it? Yes!
Everything should now be ready to run, just call make_[filetype].sh
and everything should work great!
See Wiki for the file calls. Or just run
templater_help.sh
for quick instructions.
-
Cannot make a title for the HTML page more than one word.
-
For Windows Git Bash, you must open a text editor as administrator and add:
if [ -f ~/.bashrc ] then . ~/.bashrc fi