├── .github ├── pull_request_template.md └── workflows │ └── ci.yaml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs ├── adr │ └── 001-use-tools-namespace.md ├── cljdoc.edn └── config.md ├── lein-clj-depend ├── .gitignore ├── README.md ├── project.clj └── src │ └── leiningen │ └── clj_depend.clj ├── project.clj ├── sample ├── .clj-depend │ └── config.edn ├── project.clj ├── src │ └── sample │ │ ├── controller │ │ └── my_controller.clj │ │ ├── core.clj │ │ ├── logic │ │ └── my_logic.clj │ │ └── model │ │ └── my_model.clj └── test │ └── sample │ └── core_test.clj ├── src └── clj_depend │ ├── analyzer.clj │ ├── analyzers │ ├── circular_dependency.clj │ ├── layer.clj │ └── rule.clj │ ├── api.clj │ ├── config.clj │ ├── internal_api.clj │ ├── main.clj │ └── snapshot.clj ├── test-resources ├── not-configured │ └── src │ │ └── sample │ │ └── foo.clj ├── with-cyclic-dependency │ ├── .clj-depend │ │ └── config.edn │ └── src │ │ └── sample │ │ ├── controller │ │ └── foo.clj │ │ └── logic │ │ └── foo.clj ├── with-violations-between-different-source-paths │ ├── .clj-depend │ │ └── config.edn │ ├── src │ │ └── sample │ │ │ ├── controller │ │ │ └── foo.clj │ │ │ └── logic │ │ │ ├── bar.clj │ │ │ └── foo.clj │ └── test │ │ └── sample │ │ └── logic │ │ └── foo_test.clj ├── with-violations-for-modular-structure │ ├── .clj-depend │ │ └── config.edn │ └── src │ │ ├── module1 │ │ ├── controller │ │ │ └── foo.clj │ │ ├── logic │ │ │ └── foo.clj │ │ └── server.clj │ │ └── module2 │ │ ├── controller │ │ └── foo.clj │ │ ├── logic │ │ └── foo.clj │ │ └── server.clj ├── with-violations-without-config │ └── src │ │ └── sample │ │ ├── controller │ │ └── foo.clj │ │ ├── logic │ │ └── foo.clj │ │ └── server.clj ├── with-violations │ ├── .clj-depend │ │ └── config.edn │ └── src │ │ └── sample │ │ ├── controller │ │ └── foo.clj │ │ ├── logic │ │ └── foo.clj │ │ └── server.clj ├── without-violations-and-snapshot-violations-no-longer-needed │ ├── .clj-depend │ │ ├── config.edn │ │ └── snapshot.edn │ └── src │ │ └── sample │ │ ├── controller │ │ └── foo.clj │ │ ├── logic │ │ ├── bar.clj │ │ └── foo.clj │ │ └── server.clj ├── without-violations-for-modular-structure │ ├── .clj-depend │ │ └── config.edn │ └── src │ │ ├── module1 │ │ ├── controller │ │ │ └── foo.clj │ │ ├── logic │ │ │ └── foo.clj │ │ └── server.clj │ │ └── module2 │ │ ├── controller │ │ └── foo.clj │ │ ├── logic │ │ └── foo.clj │ │ └── server.clj └── without-violations │ ├── .clj-depend │ └── config.edn │ └── src │ └── sample │ ├── controller │ └── foo.clj │ ├── logic │ ├── bar.clj │ └── foo.clj │ └── server.clj └── test └── clj_depend ├── analyzer_test.clj ├── analyzers ├── circular_dependency_test.clj ├── layer_test.clj └── rule_test.clj └── api_integration_test.clj /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/README.md -------------------------------------------------------------------------------- /docs/adr/001-use-tools-namespace.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/docs/adr/001-use-tools-namespace.md -------------------------------------------------------------------------------- /docs/cljdoc.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/docs/cljdoc.edn -------------------------------------------------------------------------------- /docs/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/docs/config.md -------------------------------------------------------------------------------- /lein-clj-depend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/lein-clj-depend/.gitignore -------------------------------------------------------------------------------- /lein-clj-depend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/lein-clj-depend/README.md -------------------------------------------------------------------------------- /lein-clj-depend/project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/lein-clj-depend/project.clj -------------------------------------------------------------------------------- /lein-clj-depend/src/leiningen/clj_depend.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/lein-clj-depend/src/leiningen/clj_depend.clj -------------------------------------------------------------------------------- /project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/project.clj -------------------------------------------------------------------------------- /sample/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/.clj-depend/config.edn -------------------------------------------------------------------------------- /sample/project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/project.clj -------------------------------------------------------------------------------- /sample/src/sample/controller/my_controller.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/src/sample/controller/my_controller.clj -------------------------------------------------------------------------------- /sample/src/sample/core.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/src/sample/core.clj -------------------------------------------------------------------------------- /sample/src/sample/logic/my_logic.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/src/sample/logic/my_logic.clj -------------------------------------------------------------------------------- /sample/src/sample/model/my_model.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/src/sample/model/my_model.clj -------------------------------------------------------------------------------- /sample/test/sample/core_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/sample/test/sample/core_test.clj -------------------------------------------------------------------------------- /src/clj_depend/analyzer.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/analyzer.clj -------------------------------------------------------------------------------- /src/clj_depend/analyzers/circular_dependency.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/analyzers/circular_dependency.clj -------------------------------------------------------------------------------- /src/clj_depend/analyzers/layer.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/analyzers/layer.clj -------------------------------------------------------------------------------- /src/clj_depend/analyzers/rule.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/analyzers/rule.clj -------------------------------------------------------------------------------- /src/clj_depend/api.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/api.clj -------------------------------------------------------------------------------- /src/clj_depend/config.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/config.clj -------------------------------------------------------------------------------- /src/clj_depend/internal_api.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/internal_api.clj -------------------------------------------------------------------------------- /src/clj_depend/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/main.clj -------------------------------------------------------------------------------- /src/clj_depend/snapshot.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/src/clj_depend/snapshot.clj -------------------------------------------------------------------------------- /test-resources/not-configured/src/sample/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-cyclic-dependency/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-cyclic-dependency/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/with-cyclic-dependency/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-cyclic-dependency/src/sample/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/with-cyclic-dependency/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-cyclic-dependency/src/sample/logic/foo.clj -------------------------------------------------------------------------------- /test-resources/with-violations-between-different-source-paths/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-between-different-source-paths/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/with-violations-between-different-source-paths/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-between-different-source-paths/src/sample/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/with-violations-between-different-source-paths/src/sample/logic/bar.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-between-different-source-paths/src/sample/logic/bar.clj -------------------------------------------------------------------------------- /test-resources/with-violations-between-different-source-paths/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations-between-different-source-paths/test/sample/logic/foo_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-between-different-source-paths/test/sample/logic/foo_test.clj -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-for-modular-structure/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module1/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-for-modular-structure/src/module1/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module1/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns module1.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module1/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-for-modular-structure/src/module1/server.clj -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module2/controller/foo.clj: -------------------------------------------------------------------------------- 1 | (ns module2.controller.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module2/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns module2.logic.foo)) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations-for-modular-structure/src/module2/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-for-modular-structure/src/module2/server.clj -------------------------------------------------------------------------------- /test-resources/with-violations-without-config/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.controller.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations-without-config/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-without-config/src/sample/logic/foo.clj -------------------------------------------------------------------------------- /test-resources/with-violations-without-config/src/sample/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations-without-config/src/sample/server.clj -------------------------------------------------------------------------------- /test-resources/with-violations/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/with-violations/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.controller.foo) 2 | -------------------------------------------------------------------------------- /test-resources/with-violations/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations/src/sample/logic/foo.clj -------------------------------------------------------------------------------- /test-resources/with-violations/src/sample/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/with-violations/src/sample/server.clj -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-and-snapshot-violations-no-longer-needed/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/.clj-depend/snapshot.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-and-snapshot-violations-no-longer-needed/.clj-depend/snapshot.edn -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/logic/bar.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/logic/bar.clj -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-and-snapshot-violations-no-longer-needed/src/sample/server.clj -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-for-modular-structure/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module1/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-for-modular-structure/src/module1/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module1/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns module1.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module1/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-for-modular-structure/src/module1/server.clj -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module2/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-for-modular-structure/src/module2/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module2/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns module2.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/without-violations-for-modular-structure/src/module2/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations-for-modular-structure/src/module2/server.clj -------------------------------------------------------------------------------- /test-resources/without-violations/.clj-depend/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations/.clj-depend/config.edn -------------------------------------------------------------------------------- /test-resources/without-violations/src/sample/controller/foo.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations/src/sample/controller/foo.clj -------------------------------------------------------------------------------- /test-resources/without-violations/src/sample/logic/bar.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations/src/sample/logic/bar.clj -------------------------------------------------------------------------------- /test-resources/without-violations/src/sample/logic/foo.clj: -------------------------------------------------------------------------------- 1 | (ns sample.logic.foo) 2 | -------------------------------------------------------------------------------- /test-resources/without-violations/src/sample/server.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test-resources/without-violations/src/sample/server.clj -------------------------------------------------------------------------------- /test/clj_depend/analyzer_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test/clj_depend/analyzer_test.clj -------------------------------------------------------------------------------- /test/clj_depend/analyzers/circular_dependency_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test/clj_depend/analyzers/circular_dependency_test.clj -------------------------------------------------------------------------------- /test/clj_depend/analyzers/layer_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test/clj_depend/analyzers/layer_test.clj -------------------------------------------------------------------------------- /test/clj_depend/analyzers/rule_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test/clj_depend/analyzers/rule_test.clj -------------------------------------------------------------------------------- /test/clj_depend/api_integration_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fabiodomingues/clj-depend/HEAD/test/clj_depend/api_integration_test.clj --------------------------------------------------------------------------------