()
| 149 | zipdir("target/install_zip", getInstallZipName()) |
| 150 | |
| 151 | def install(): |
| 152 | |
| 153 | installPath = os.environ.get('MGEN_INSTALL_PATH') |
| 154 | if installPath == None: |
| 155 | raise Exception("Environmental variable MGEN_INSTALL_PATH not set") |
| 156 | |
| 157 | print("Installing MGEN to " + installPath) |
| 158 | |
| 159 | rmFolderContents(installPath) |
| 160 | mkFolder(installPath) |
| 161 | unzip(getInstallZipName(), installPath) |
| 162 | mkFileExecutable(installPath + "/bin/mgen") |
| 163 | mkFileExecutable(installPath + "/bin/mgen.sh") |
| 164 | |
| 165 | def upload_to_culvertsoft(): |
| 166 | folderName = 'snapshot' if mgen_version == 'SNAPSHOT' else 'releases' |
nothing calls this directly
no test coverage detected