mirror of
https://github.com/apple/pkl.git
synced 2026-04-18 14:39:54 +02:00
Allow referring to remote project dependencies on the CLI with @-notation (#1434)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
|
||||
* Copyright © 2024-2026 Apple Inc. and the Pkl project authors. All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -159,7 +159,7 @@ class CliDocGenerator(
|
||||
val regularModuleUris = mutableListOf<URI>()
|
||||
val pklProjectPaths = mutableSetOf<Path>()
|
||||
val packageUris = mutableListOf<PackageUri>()
|
||||
for (moduleUri in options.base.normalizedSourceModules) {
|
||||
for (moduleUri in resolvedSourceModules) {
|
||||
if (moduleUri.scheme == "file") {
|
||||
val dir = moduleUri.toPath().parent
|
||||
val projectFile = dir.getProjectFile(options.base.normalizedRootDir)
|
||||
|
||||
Reference in New Issue
Block a user