Skip to content

Commit

Permalink
Merge pull request #4 from napoly/fix-edit-job-order-exec
Browse files Browse the repository at this point in the history
fix editStartScriptAppHomeVar order execution with Copy
  • Loading branch information
woodser authored Dec 21, 2023
2 parents 27d11fb + ecb2ad7 commit 5a373c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/groovy/haveno.post-build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ plugins {

import static org.gradle.internal.os.OperatingSystem.current

def copyStartScripts = tasks.register('copyStartScripts', Copy) {
tasks.register('copyStartScripts', Copy) {
description = "Copies assembled distribution start scripts to root project directory."
from layout.buildDirectory.dir('scripts')
into projectDir
}

def copyDistributionLib = tasks.register('copyDistributionLib', Copy) {
tasks.register('copyDistributionLib', Copy) {
description = "Extracts zipped distribution lib directory to root project directory."
dependsOn 'copyStartScripts', ':distZip'
def distFolderName = project.name + '-' + version
Expand All @@ -41,7 +41,7 @@ def copyDistributionLib = tasks.register('copyDistributionLib', Copy) {
into "${projectDir}/lib"
}

def editStartScriptAppHomeVar = tasks.register('editStartScriptAppHomeVar') {
tasks.register('editStartScriptAppHomeVar', Copy) {
description = "Edit generated start script so it expects to be executed in project root dir (not the 'bin' dir)."
dependsOn 'copyStartScripts'
doLast {
Expand Down

0 comments on commit 5a373c8

Please sign in to comment.