Change e2e tests for gradle changes
- Fix e2e workflow to build with gradle. - Fix e2e paths to ones generated by gradle. - Relates #470
This commit is contained in:
@@ -4,11 +4,11 @@ import * as path from 'path';
|
||||
export const tempDir = path.join(__dirname, 'spring-shell', 'temp');
|
||||
export const isWindows = os.platform() === 'win32';
|
||||
export const cliPathRelative = isWindows
|
||||
? '..\\..\\spring-shell-samples\\target\\spring-shell-samples.exe'
|
||||
: '../../spring-shell-samples/target/spring-shell-samples';
|
||||
? '..\\..\\spring-shell-samples\\build\\native\\nativeCompile\\spring-shell-samples.exe'
|
||||
: '../../spring-shell-samples/build/native/nativeCompile/spring-shell-samples';
|
||||
export const jarPathRelative = isWindows
|
||||
? '..\\..\\spring-shell-samples\\target\\spring-shell-samples-3.0.0-SNAPSHOT-exec.jar'
|
||||
: '../../spring-shell-samples/target/spring-shell-samples-3.0.0-SNAPSHOT-exec.jar';
|
||||
? '..\\..\\spring-shell-samples\\build\\libs\\spring-shell-samples-3.0.0-SNAPSHOT.jar'
|
||||
: '../../spring-shell-samples/build/libs/spring-shell-samples-3.0.0-SNAPSHOT.jar';
|
||||
export const cliPath = path.resolve(cliPathRelative);
|
||||
export const jarPath = path.resolve(jarPathRelative);
|
||||
export const nativeDesc = 'native';
|
||||
|
||||
Reference in New Issue
Block a user