WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit c932ca84 authored by Kunshan Wang's avatar Kunshan Wang
Browse files

Mention how to run programs with sbt in README.md.

parent f83c3baf
......@@ -63,6 +63,28 @@ plugin](https://github.com/typesafehub/sbteclipse) and invoke `sbt eclipse`.
IntelliJ IDEA has plugins for Scala and SBT. Make sure you don't commit `.idea`
or generated project files into the repository.
How to run
----------
There is a sample factorial program (generously provided by @johnjiabinzhang) in
the `src/test` directory. To run the program with all dependencies on the
classpath, you need to run it with sbt. Invoke `sbt` to enter the interactive
shell. Then type:
```
set fork := true
test:runMain junks.FactorialFromRPython
```
or directly from the command line:
```
sbt 'set fork:=true' 'test:runMain junks.FactorialFromRPython'
```
`fork := true` tells sbt to run the program in a different process than the one
running sbt itself.
Author and Copyright
--------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment