diff options
| author | 2015-01-21 00:32:41 -0500 | |
|---|---|---|
| committer | 2015-01-21 00:32:41 -0500 | |
| commit | bec00b76fb2ea06e35bbf37fca376499527b596e (patch) | |
| tree | 89ed193322b890b743baa92a7b2a31e9bf35df1d | |
| parent | update build system to make maven artifacts (diff) | |
| download | enigma-fork-bec00b76fb2ea06e35bbf37fca376499527b596e.tar.gz enigma-fork-bec00b76fb2ea06e35bbf37fca376499527b596e.tar.xz enigma-fork-bec00b76fb2ea06e35bbf37fca376499527b596e.zip | |
fix build script to deploy jar correctly
| -rw-r--r-- | build.py | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -33,11 +33,12 @@ def buildJar(): | |||
| 33 | ssjb.copyFile(DirTemp, "license.GPL3.txt") | 33 | ssjb.copyFile(DirTemp, "license.GPL3.txt") |
| 34 | ssjb.copyFile(DirTemp, "readme.txt") | 34 | ssjb.copyFile(DirTemp, "readme.txt") |
| 35 | manifest = ssjb.buildManifest(ProjectName, Version, Author, "cuchaz.enigma.Main") | 35 | manifest = ssjb.buildManifest(ProjectName, Version, Author, "cuchaz.enigma.Main") |
| 36 | ssjb.jar(os.path.join(DirBuild, getJarFullName()), DirTemp, manifest=manifest) | 36 | pathJar = os.path.join(DirBuild, getJarFullName()) |
| 37 | ssjb.jar(pathJar, DirTemp, manifest=manifest) | ||
| 37 | ssjb.delete(DirTemp) | 38 | ssjb.delete(DirTemp) |
| 38 | ssjb.deployJarToLocalMavenRepo( | 39 | ssjb.deployJarToLocalMavenRepo( |
| 39 | PathLocalMavenRepo, | 40 | PathLocalMavenRepo, |
| 40 | getJarFullName(), | 41 | pathJar, |
| 41 | "%s:%s:%s" % (GroupId, ProjectName, Version) | 42 | "%s:%s:%s" % (GroupId, ProjectName, Version) |
| 42 | ) | 43 | ) |
| 43 | 44 | ||