Skip to content

Switch to real-world project structure #84

@yurrriq

Description

@yurrriq

Update:
Since two people who aren't me support this and no one has yet opposed, I've reworded it from a question to a call to action and a to-do list.

In xlfe, we opted to use a "real-world" directory structure for the exercises and I think there are great benefits to users in doing so. Right now, xclojure uses :{source,test}-paths [""] to allow users to ignore convention and get coding right away.

I think that's a bad idea. See the output below for my proposed changes.

N.B. I'm pretty sure some documentation would have to be updated accordingly, too.

bob
├── project.clj
├── src
│   └── bob.clj
└── test
    └── bob_test.clj
diff --git a/bob/project.clj b/bob/project.clj
index 803ad74..a21fc23 100644
--- a/bob/project.clj
+++ b/bob/project.clj
@@ -1,6 +1,4 @@
 (defproject bob "0.1.0-SNAPSHOT"
   :description "bob exercise."
   :url "https://github.com/exercism/xclojure/tree/master/bob"
-  :source-paths [""]
-  :test-paths [""]
   :dependencies [[org.clojure/clojure "1.7.0"]])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions