File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 my $filepath = " lib/net/authorize/api/contract/v1/" ;
1414 my $filename = " $filepath " ." $_ " ;
1515 my $text = ` cat $filename ` ;
16- my $sub = ` cat scripts/appendJsonSeralizeCode .txt` ;
16+ my $sub = ` cat scripts/appendJsonSerializeCode .txt` ;
1717
1818 $text =~ s | (.+)}| $1 $sub | xms ;
1919
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ find lib/net/authorize/api/contract/v1 -print | grep -i -e "type\.php" > scri
1616echo " Taking backup of Types"
1717perl scripts/backup.pl scripts/typeList.txt
1818echo " Appending JsonSerialize code to Types"
19- perl scripts/appendJsonSeralizeCode .pl scripts/typeList.txt
19+ perl scripts/appendJsonSerializeCode .pl scripts/typeList.txt
2020echo " Appending Set code to Types"
2121perl scripts/appendSetCode.pl scripts/typeList.txt
2222
2323
2424echo " Taking backup of Requests"
2525perl scripts/backup.pl scripts/requestList.txt
2626echo " Appending JsonSerialize code to Requests"
27- perl scripts/appendJsonSeralizeCode .pl scripts/requestList.txt
27+ perl scripts/appendJsonSerializeCode .pl scripts/requestList.txt
2828# echo "Appending Set code to Requests"
2929# perl appendSetCode.pl requestList.txt
3030
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- echo " Starting ` date` "
3+ echo " Starting Controller Generation ` date` "
44CDIR=` pwd`
55SRCDIR=lib
66GENFOLDER=net/authorize/api/contract/v1
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ echo This script will update the generated code
55echo
66
77currdir=` pwd`
8- cmdlist=" generateObjectsFromXsd.sh generateControllersFromTemplate.sh appender.sh"
8+ cmdlist=" prepare.sh generateObjectsFromXsd.sh generateControllersFromTemplate.sh appender.sh"
99for cmd in $cmdlist ; do
1010 echo Executing Script " $cmd "
1111 if [ ! -f $currdir /scripts/$cmd ]; then
@@ -23,6 +23,7 @@ for cmd in $cmdlist ; do
2323 exit $ERRORCODE
2424 fi
2525done
26+
2627echo Exiting, Update completed successfully.
2728echo Compile, run tests and commit to git-hub.
2829echo Completed at ` date`
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " Preparing for SDK Generation ` date` "
4+
5+ composer update
You can’t perform that action at this time.
0 commit comments