Cargoify servo

This commit is contained in:
Jack Moffitt 2014-08-28 09:34:23 -06:00
parent db2f642c32
commit c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions

View file

@ -0,0 +1,16 @@
#!/bin/bash
# This script creates a skeleton implementation for a C++ class which
# implements a Web IDL interface.
# This script is released into the public domain.
if [ -z "$1" ]; then
echo usage: ./generate.sh ClassName
exit 1
fi
expression="s/Skeleton/$1/g"
sed "$expression" < Skeleton.h > "$1.h"
sed "$expression" < Skeleton.cpp > "$1.cpp"