6 lines
210 B
Bash
Executable File
6 lines
210 B
Bash
Executable File
#!/bin/sh
|
|
mkdir modules/$1
|
|
cp skeleton/Makefile skeleton/premake.make modules/$1/
|
|
sed -e "s/{MODULE}/$1/" skeleton/MODULE.hpp > modules/$1/$1.hpp
|
|
sed -e "s/{MODULE}/$1/" skeleton/MODULE.cpp > modules/$1/$1.cpp
|