Liking cljdoc? Tell your friends :D

polylith.clj.core.workspace-clj.projects-from-disk


->brick-src-pathsclj

(->brick-src-paths {:keys [name type paths]})

->brick-test-pathsclj

(->brick-test-paths {:keys [name type paths]})

absolute-pathclj

(absolute-path path project-name is-dev)

brick-libsclj

(brick-libs name->brick brick-name type)

brick-nameclj

(brick-name path is-dev)

brick-path?clj

(brick-path? path is-dev)

brick?clj

(brick? [_ {:keys [local/root]}] is-dev)

extract-brick-nameclj

(extract-brick-name [_ entry] is-dev)

Returns the brick name from a dependency if it's a valid path to a brick.

Returns the brick name from a dependency if it's a valid path to a brick.
raw docstring

keep?clj

(keep? {:keys [project-name]} project->settings skip)

Skip projects that are passed in as e.g. skip:P1:P2.

Skip projects that are passed in as e.g. skip:P1:P2.
raw docstring

project-mapclj

(project-map ws-dir project-name)

read-projectclj

(read-project {:keys [project-name project-dir project-config-dir is-dev]}
              ws-dir
              ws-type
              name->brick
              project->settings
              user-home)
(read-project ws-dir
              name->brick
              project-name
              project-dir
              config-filename
              is-dev
              maven-repos
              project->settings
              user-home
              project-src-paths
              project-src-deps
              project-test-paths
              project-test-deps
              override-src-deps
              override-test-deps)

read-projectsclj

(read-projects ws-dir
               ws-type
               name->brick
               project->settings
               user-input
               user-home)

skip-all-tests?clj

(skip-all-tests? bricks-to-test)

src-paths-and-libs-from-bricksclj

(src-paths-and-libs-from-bricks ws-dir
                                name->brick
                                is-dev
                                project-name
                                user-home
                                project-src-deps
                                project-src-paths
                                override-deps)

Returns all src paths and src dependencies that are included from the src context for a given project deps.edn file, including:

  • project paths that are specified as :paths or :aliases > :dev > :extra-paths (development) in the project's deps.edn file.
  • brick :src paths that are specified in :deps or :aliases > :dev > :extra-deps (development) as :local/root in the project's deps.edn file and extracted from the corresponding brick deps.edn files.
  • brick :src libraries that are specified in :deps or :aliases > :dev > :extra-deps (development) in the project's deps.edn file.
  • brick :src libraries that are specified in :deps or :aliases > :dev > :extra-deps (development) as :local/root in the project's deps.edn file and extracted from the corresponding brick deps.edn files. If :override-deps is given, then library versions will be overridden.
Returns all src paths and src dependencies that are included from the src context
for a given project deps.edn file, including:
- project paths that are specified as :paths or :aliases > :dev > :extra-paths (development)
  in the project's deps.edn file.
- brick :src paths that are specified in :deps or :aliases > :dev > :extra-deps (development)
  as :local/root in the project's deps.edn file and extracted from the corresponding
  brick deps.edn files.
- brick :src libraries that are specified in :deps or :aliases > :dev > :extra-deps (development)
  in the project's deps.edn file.
- brick :src libraries that are specified in :deps or :aliases > :dev > :extra-deps (development)
  as :local/root in the project's deps.edn file and extracted from the corresponding
  brick deps.edn files.
If :override-deps is given, then library versions will be overridden.
raw docstring

test-paths-and-libs-from-bricksclj

(test-paths-and-libs-from-bricks ws-dir
                                 name->brick
                                 is-dev
                                 project-name
                                 bricks-to-test
                                 user-home
                                 project-src-deps
                                 project-test-deps
                                 project-test-paths
                                 override-src-deps
                                 override-test-deps)

Returns all test paths and test dependencies that are included from the test context for a given project deps.edn file, including:

  • project paths that are specified as :aliases > :test > :extra-paths in the project's deps.edn file.
  • brick :test paths that are specified in :aliases > :src > :extra-deps as :local/root in the project's deps.edn file and extracted from the corresponding brick deps.edn files.
  • brick :test paths that are specified in :aliases > :test > :extra-deps as :local/root in the project's deps.edn file and extracted from the corresponding brick deps.edn files.
  • brick :src paths that are specified in :aliases > :test > :extra-deps as :local/root but not in :aliases > :src > :extra-deps, are extracted from the corresponding brick deps.edn files. This is needed when a brick is only added to the test context but not to the source context, so that we have access to the brick under test.
  • brick :test libraries that are specified in :aliases > :test > :extra-deps in the project's deps.edn file.
  • brick :test libraries that are specified in :aliases > :dev > :extra-deps as :local/root in the project's deps.edn file and extracted from the corresponding brick deps.edn files.
  • brick :src libraries that are specified in :aliases > :test > :extra-deps as :local/root but not in :aliases > :src > :extra-deps, are extracted from the corresponding brick deps.edn files. If :override-deps is given, then library versions will be overridden.
Returns all test paths and test dependencies that are included from the test context
for a given project deps.edn file, including:
- project paths that are specified as :aliases > :test > :extra-paths in the project's deps.edn file.
- brick :test paths that are specified in :aliases > :src > :extra-deps as :local/root in the
  project's deps.edn file and extracted from the corresponding brick deps.edn files.
- brick :test paths that are specified in :aliases > :test > :extra-deps as :local/root in the
  project's deps.edn file and extracted from the corresponding brick deps.edn files.
- brick :src paths that are specified in :aliases > :test > :extra-deps as :local/root but not in
  :aliases > :src > :extra-deps, are extracted from the corresponding brick deps.edn files.
  This is needed when a brick is only added to the test context but not to the source context,
  so that we have access to the brick under test.
- brick :test libraries that are specified in :aliases > :test > :extra-deps in the project's deps.edn file.
- brick :test libraries that are specified in :aliases > :dev > :extra-deps as :local/root
  in the project's deps.edn file and extracted from the corresponding brick deps.edn files.
- brick :src libraries that are specified in :aliases > :test > :extra-deps as :local/root but not in
  :aliases > :src > :extra-deps, are extracted from the corresponding brick deps.edn files.
If :override-deps is given, then library versions will be overridden.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close