diff options
| author | 2015-10-11 20:48:14 -0500 | |
|---|---|---|
| committer | 2015-10-11 20:48:14 -0500 | |
| commit | ed7081dd75965f66a2a98767504dd8d28bc4f186 (patch) | |
| tree | 16b30d78d5ce39d206a65f68025df42e18a60854 /build.py | |
| parent | fix compile errors ... >.> (diff) | |
| download | enigma-ed7081dd75965f66a2a98767504dd8d28bc4f186.tar.gz enigma-ed7081dd75965f66a2a98767504dd8d28bc4f186.tar.xz enigma-ed7081dd75965f66a2a98767504dd8d28bc4f186.zip | |
Added description to all the tasks in build.py
Diffstat (limited to 'build.py')
| -rw-r--r-- | build.py | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -113,12 +113,14 @@ def buildLibJar(dirOut): | |||
| 113 | # tasks | 113 | # tasks |
| 114 | 114 | ||
| 115 | def taskGetDeps(): | 115 | def taskGetDeps(): |
| 116 | """Get all the Deps.""" | ||
| 116 | ssjb.file.mkdir(DirLib) | 117 | ssjb.file.mkdir(DirLib) |
| 117 | ssjb.ivy.makeLibsJar(os.path.join(DirLib, "deps.jar"), StandaloneDeps, extraRepos=ExtraRepos) | 118 | ssjb.ivy.makeLibsJar(os.path.join(DirLib, "deps.jar"), StandaloneDeps, extraRepos=ExtraRepos) |
| 118 | ssjb.ivy.makeLibsJar(os.path.join(DirLib, "test-deps.jar"), TestDeps) | 119 | ssjb.ivy.makeLibsJar(os.path.join(DirLib, "test-deps.jar"), TestDeps) |
| 119 | ssjb.ivy.makeJar(os.path.join(DirLib, "proguard.jar"), ProguardDep) | 120 | ssjb.ivy.makeJar(os.path.join(DirLib, "proguard.jar"), ProguardDep) |
| 120 | 121 | ||
| 121 | def taskBuildTestJars(): | 122 | def taskBuildTestJars(): |
| 123 | """Build the test jar.""" | ||
| 122 | buildTestJar("loneClass", "cuchaz/enigma/inputs/loneClass/*.class") | 124 | buildTestJar("loneClass", "cuchaz/enigma/inputs/loneClass/*.class") |
| 123 | buildTestJar("constructors", "cuchaz/enigma/inputs/constructors/*.class") | 125 | buildTestJar("constructors", "cuchaz/enigma/inputs/constructors/*.class") |
| 124 | buildTestJar("inheritanceTree", "cuchaz/enigma/inputs/inheritanceTree/*.class") | 126 | buildTestJar("inheritanceTree", "cuchaz/enigma/inputs/inheritanceTree/*.class") |
| @@ -126,10 +128,12 @@ def taskBuildTestJars(): | |||
| 126 | taskBuildTranslationTestJar() | 128 | taskBuildTranslationTestJar() |
| 127 | 129 | ||
| 128 | def taskBuildTranslationTestJar(): | 130 | def taskBuildTranslationTestJar(): |
| 131 | """Build the Translation test jar.""" | ||
| 129 | buildTestJar("translation", "cuchaz/enigma/inputs/translation/*.class") | 132 | buildTestJar("translation", "cuchaz/enigma/inputs/translation/*.class") |
| 130 | buildDeobfTestJar(os.path.join(DirBuild, "test-deobf/translation.jar"), os.path.join(DirBuild, "test-obf/translation.jar")) | 133 | buildDeobfTestJar(os.path.join(DirBuild, "test-deobf/translation.jar"), os.path.join(DirBuild, "test-obf/translation.jar")) |
| 131 | 134 | ||
| 132 | def taskBuild(): | 135 | def taskBuild(): |
| 136 | """Build the engima jar.""" | ||
| 133 | ssjb.file.delete(DirBuild) | 137 | ssjb.file.delete(DirBuild) |
| 134 | ssjb.file.mkdir(DirBuild) | 138 | ssjb.file.mkdir(DirBuild) |
| 135 | buildStandaloneJar(DirBuild) | 139 | buildStandaloneJar(DirBuild) |