Skip to content

Instantly share code, notes, and snippets.

@babo
Created June 6, 2020 16:09
Show Gist options
  • Save babo/14360847e687270c1008981518757008 to your computer and use it in GitHub Desktop.
Save babo/14360847e687270c1008981518757008 to your computer and use it in GitHub Desktop.
diff --git i/project.clj w/project.clj
index 66b878b..68ba0cb 100644
--- i/project.clj
+++ w/project.clj
@@ -3,6 +3,7 @@
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
+ :main dactyl-keyboard.dactyl
:dependencies [[org.clojure/clojure "1.7.0"]
[unicode-math "0.2.0"]
[scad-clj "0.4.0"]])
diff --git i/src/dactyl_keyboard/dactyl.clj w/src/dactyl_keyboard/dactyl.clj
index a57f657..762dbc8 100644
--- i/src/dactyl_keyboard/dactyl.clj
+++ w/src/dactyl_keyboard/dactyl.clj
@@ -1264,3 +1264,5 @@
(spit "things/dactyl-bottom-left-with-teensy.scad"
(write-scad (mirror [-1 0 0] dactyl-bottom-right)))
+
+(defn -main [dum] 1) ; dummy to make it easier to batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment