Liking cljdoc? Tell your friends :D

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


->brick-src-pathsclj

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

->brick-test-pathsclj

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

absolute-pathclj

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

brick-libsclj

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

brick-path?clj

(brick-path? path is-dev)
source

brick?clj

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

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.
sourceraw docstring

project-mapclj

(project-map ws-dir project-name)
source

read-projectclj

(read-project {:keys [project-name project-dir project-config-dir is-dev]}
              ws-dir
              ws-type
              name->brick
              project->settings
              user-home
              suffixed-top-ns
              interface-ns)
(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
              suffixed-top-ns
              interface-ns)
source

read-projectsclj

(read-projects ws-dir
               ws-type
               name->brick
               project->settings
               user-input
               user-home
               suffixed-top-ns
               interface-ns)
source

skip-all-tests?clj

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

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.
sourceraw 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.
sourceraw docstring

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

× close