- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for getExecutableName (0.62 sec)
-
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy
def os = Stub(OperatingSystem) def registry = new ToolSearchPath(os) def "finds executable in system path"() { def file = tmpDir.createFile("cc.bin") given: os.getExecutableName("cc") >> "cc.bin" os.path >> [file.parentFile] when: def result = registry.locate(ToolType.C_COMPILER, "cc") then: result.available result.tool == file
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/UnavailablePlatformToolProvider.java
return true; } @Override public String getObjectFileExtension() { throw failure(); } @Override public String getExecutableName(String executablePath) { return targetOperatingSystem.getInternalOs().getExecutableName(executablePath); } @Override public String getSharedLibraryName(String libraryPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java
public boolean isLinux() { return false; } public abstract String getNativePrefix(); public abstract String getScriptName(String scriptPath); public abstract String getExecutableName(String executablePath); public abstract String getExecutableSuffix(); public abstract String getSharedLibraryName(String libraryName); public abstract String getSharedLibrarySuffix();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy
expect: os.executableSuffix == ".exe" os.getExecutableName("a.exe") == "a.exe" os.getExecutableName("a.EXE") == "a.EXE" os.getExecutableName("a") == "a.exe" os.getExecutableName("a.bat") == "a.exe" os.getExecutableName("a.b/c") == "a.b/c.exe" os.getExecutableName("a.b\\c") == "a.b\\c.exe" } def "windows transforms shared library names"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 10.7K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy
def binDir = jdkHome.createDir("bin") binDir.createFile(OperatingSystem.LINUX.getExecutableName("java")) // Make it look like a macOS installation def macOsJdkHomeBinDir = jdkHome.createDir("Contents/Home/bin") macOsJdkHomeBinDir.createFile(OperatingSystem.LINUX.getExecutableName("java")) when: def registry = createRegistry([jdkHome], OperatingSystem.LINUX)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/AbstractPlatformToolProvider.java
return true; } @Override public void explain(DiagnosticsVisitor visitor) { } @Override public String getExecutableName(String executablePath) { return targetOperatingSystem.getInternalOs().getExecutableName(executablePath); } @Override public String getSharedLibraryName(String libraryPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactoryTest.groovy
def otherJavaHome = tmpDir.createDir("other-java-home") otherJavaHome.createDir("bin") otherJavaHome.file(OperatingSystem.current().getExecutableName("bin/java")).touch() otherJavaHome.file(OperatingSystem.current().getExecutableName("bin/javac")).touch() def version = currentVM == 'current' ? Jvm.current().javaVersion.majorVersion : currentVM
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftApplicationPluginTest.groovy
def linkDebug = project.tasks.linkDebug linkDebug instanceof LinkExecutable linkDebug.linkedFile.get().asFile == projectDir.file("build/exe/main/debug/" + OperatingSystem.current().getExecutableName("TestApp")) linkDebug.debuggable def installDebug = project.tasks.installDebug installDebug instanceof InstallExecutable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/plugins/XCTestConventionPluginTest.groovy
!compileSwift.optimized def link = project.tasks.linkTest link instanceof LinkMachOBundle link.linkedFile.get().asFile == projectDir.file("build/exe/test/" + OperatingSystem.current().getExecutableName("TestAppTest")) link.debuggable def install = project.tasks.installTest install instanceof InstallXCTestBundle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8K bytes - Viewed (0)