Entries from 2012-02-01 to 1 month

sbt cleanで消してほしくないファイルを指定する。

xsbt-start-script-plugin で sbt stage して作った target/start が clean したら消えちゃいましたよ。みたいなことを防げます。 cleanKeepFiles += new File("target/start") https://github.com/harrah/xsbt/blob/v0.11.2/main/Keys.scala#L113-114 ↑ほと…

giter8 テンプレートの作り方

n8han/giter8 · GitHub 前提 このエントリは giter8 の使いかたについては知っている前提です。 やっておく giter8をアップデートしましょう。 verbatimとかの機能が最近追加されてます。 $ cs n8han/giter8 ディレクトリ構成 src/main/g8 の中にテンプレー…

anythingでプロジェクト内ファイル検索

https://github.com/tototoshi/anything-find-files-in-project/blob/master/anything-find-files-in-project.el動きとしては 1.現在のディレクトリから上にbuild.sbtとかpom.xmlとかそういうプロジェクトのルートに置いてそうなファイル探しにいく。 2.見つ…

unfiltered-scalateをtomcatで動かす

結論 くじけそう オススメできない 設定 動いたは動いた。 でもデフォルトだとダメです。https://github.com/unfiltered/unfiltered-scalate/blob/0.5.3/src/main/scala/scalate.scala#L45-46ここを変えたやつをimplicitに渡してあげます。 implicit val def…