Git Product home page Git Product logo

lecture's Introduction

ウェブサイト

授業で使ったスライドやサンプルコードはこちらから入手できます

SBT の設定についての補足

Scala での作業を Dropbox などのクラウドストレジに置いて,大学の演習室と自分のパソコンの間での楽々ファイル同期したい人もいることでしょう.どんどんやって下さい.

ただ,sbt が大量の副産物のファイルを生成するので,普通の設定のまま使っているとファイルの同期がなかなか進まなかったり,そのためにファイルの競合が発生したりしてやっかいなことがあります.今,確認したところ lecture リポジトリだけで 2,575 個,14MB のファイルが生成されるようです.

そこで,副産物を生成するディレクトリの場所をクラウドストレジ以外の場所に指定する方法をお薦めします.

設定は Mac や Linux の場合は(たぶん,Bash on Ubuntu on Windows でも)~/.sbt/1.0/global.sbt というテキストファイルに以下の一行を書くだけです.

target := Path.userHome / "tmp" / "sbt" / organization.value / name.value

ここで,organizationnamebuild.sbt で指定したものとなります.たとえば,講義で使っているリポジトリの場合は ~/tmp/sbt/prg17.is.titech.ac.jp/ の下に lx01, lx02a, ... というサブディレクトリがどんどんできます.

この設定を施したあとは,targetproject/target を削除しても大丈夫です.

lecture's People

Contributors

wakita avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lecture's Issues

10/17 の講義資料の「宿題」について

こんにちは
今回は前回の授業の宿題について質問させていただきたいと思います。
火曜日のスライドには宿題が掲載されていたと思いますが、授業中にそのことについて説明されていないと思いました。
この場合、金曜までに宿題をやらないと減点になりますか?
よろしくお願いします。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.