Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
22 lines (19 loc) · 471 Bytes

File metadata and controls

executable file
·
22 lines (19 loc) · 471 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#
# Shell script that creates only the main class for a new transformation
# plug-in, using a template
#
# $1: MIMEType
# $2: MIMESubtype
# $3: Transformation Name
# Do not run as CGI
if [ -n "$GATEWAY_INTERFACE" ] ; then
echo 'Can not invoke as CGI!'
exit 1
fi
if [ $# != 3 ]
then
echo -e "Usage: ./generator_main_class.sh MIMEType MIMESubtype TransformationName\n"
exit 65
fi
./generator_plugin.sh "$1" "$2" "$3" "--generate_only_main_class"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.