3 #==============================================================================
8 # Description : Create a C project
9 # git init + 4 files (license, README, Makefile & .gitignore)
10 #==============================================================================
24 git remote add origin git@github.com
:HassanAfify
/$proj.git
25 echo "[] Git add upstream bransh."
29 #==============================================================================
32 Copyright (c) $year Hassan Afify
34 Permission is hereby granted, free of charge, to any person obtaining a copy
35 of this software and associated documentation files (the "Software
"), to deal
36 in the Software without restriction, including without limitation the rights
37 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38 copies of the Software, and to permit persons to whom the Software is
39 furnished to do so, subject to the following conditions:
41 The above copyright notice and this permission notice shall be included in all
42 copies or substantial portions of the Software.
44 THE SOFTWARE IS PROVIDED "AS IS
", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50 SOFTWARE." > .
/LICENSE
51 echo "[] Create License File."
54 #==============================================================================
56 # See LICENSE file for copyright and license details.
62 IFLAGS= /usr/local/include/
63 LDFLAGS= /usr/local/lib
64 WARN= -Wall -Wextra -pedantic
67 \$(CC) \$(SRC) -o \$(TARGET) -I \$(IFLAGS) -L \$(LDFLAGS) \$(WARN)
73 splint \$(SRC) > security.log
78 chmod 755 /bin/$proj" > .
/Makefile
79 echo "[] Create Make File."
82 #==============================================================================
87 .DS_Store" > .
/.gitignore
88 echo "[] Create gitignore File."
91 #==============================================================================
94 [![platform](https://img.shields.io/badge/Platform-Linux-blue.svg)](#)
95 [![license](https://img.shields.io/github/license/HassanAfify/$proj.svg)](https://github.com/HassanAfify/$proj/blob/master/LICENSE)
100 $ git clone https://github.com/HassanAfify/$proj.git
103 $ sudo make clean install
112 You are welcome to submit questions and bug reports as Github Issues.
114 #### Copyright and License
116 $Proj is provided under the MIT license." > .
/README
117 echo "[] Create Readme File."