Code Monkey home page Code Monkey logo

rapture-io's Introduction

Rapture I/O

Version 0.7.2 (beta) for Scala 2.10.0

Rapture is a general purpose I/O library for Scala.

Compilation

Rapture I/O can be compiled the "low-tech" way using a few familiar commands, or you can use the "high-tech" rapture-build Makefile, which can simplify the compilation and development process.

Whilst the first option requires more steps to complete, developers should already be very familiar with the commands used in each step. The second option should be less effort, though the automation comes at the expense of transparency.

Low-tech Compilation

Using Scala 2.10.0 (or later), compile Rapture I/O as follows:

    mkdir rapture
    cd rapture
    git clone https://github.com/propensive/rapture-test.git test
    cd test
    mkdir bin
    scalac -d bin src/*.scala
    jar cf test.jar -C bin rapture
    cd ..
    git clone https://github.com/propensive/rapture-io.git io
    cd io
    mkdir bin
    scalac -cp ../test/test.jar -d bin src/*.scala
    jar cf io.jar -C bin rapture

To use Rapture I/O in your own projects, just include io.jar on your classpath and import rapture.io._.

High-tech Compilation

First, clone the git rapture-build and rapture-io repositories:

    git clone https://github.com/propensive/rapture-build.git rapture.io/build
    git clone https://github.com/propensive/rapture-io.git rapture.io/io

Then change into the rapture-io directory, and create the development environment. This will download the correct version of Scala, and other development dependencies.

    cd rapture.io/io
    make environment
    make fetch

Finally, to build rapture-io.jar just type

    make

You can then use Rapture I/O in your own projects by including io.jar on your classpath, and importing rapture.io._. You can experiment using the Scala REPL using

    make console

rapture-io's People

Contributors

arnostv avatar propensive avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.