diff --git a/ciunit.mod b/ciunit.mod new file mode 100644 index 0000000..d9f5180 --- /dev/null +++ b/ciunit.mod @@ -0,0 +1,30 @@ + ciunit.zip"; +exec($cmd); + +// unzip it +echo "Unzipping...\n"; +$cmd = "unzip ciunit.zip"; +exec($cmd); + +// move files and folders into the CI install +$cmd = "mv ciunit-master/application/config/testing/ $ci_folder/application/config/"; +exec($cmd); +$cmd = "mv ciunit-master/application/third_party/CIUnit/ $ci_folder/application/third_party/"; +exec($cmd); +$cmd = "mv ciunit-master/tests/ $ci_folder/"; +exec($cmd); +$cmd = "rm -rf ciunit-master/"; +exec($cmd); + +// Remove archive +echo "Cleaning up download\n"; +$cmd = "rm -rf ci.zip"; +exec($cmd);