エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
leiningen with multiple main classes
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
leiningen with multiple main classes
I'd like to have two main classes (or more) with leiningen, and then be able to choose which one ... I'd like to have two main classes (or more) with leiningen, and then be able to choose which one at the java command line. For example I have: (ns abc (:gen-class)) (defn -main [] (println "abc")) (ns def (:gen-class)) (defn -main [] (println "def")) With a project.clj having: (defproject my-jar "0.0.1" :description "test" :dependencies [ ] :main abc) Then I build with lein uberjar, and run: java

