Skip to content

turkce-yazilim-konati/kojo

 
 

Repository files navigation

Kojo Links

To start hacking:

  • Make sure you have Java 8 on your path.
  • Run ./sbt.sh clean package to build Kojo.
  • Run ./sbt.sh test to run the Kojo unit tests.
  • Run ./sbt.sh run to run Kojo (use net.kogics.kojo.lite.DesktopMain as the main class)
  • As you modify the code, do incremental (and fast) auto-compilation and auto-testing using sbt:
sbt
  > ~compile
  > ~test

IDE setup

Intellij IDEA

Do a File -> New -> Project from Existing Sources and import/open the root folder of the Kojo repo. Then import the new project via sbt.

Emacs

Put the following in your .emacs config file:

;; cd ~/src; git clone https://github.com/jwiegley/use-package
(eval-when-compile
  (add-to-list 'load-path "~/src/use-package")
  (require 'use-package))
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
;; https://github.com/hvesalai/emacs-scala-mode
(use-package scala-mode
  :interpreter
    ("scala" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.sc\\'" . scala-mode))
(add-to-list 'auto-mode-alist '("\\.kojo\\'" . scala-mode))

Packages

No packages published

Languages

  • Scala 94.0%
  • Java 5.5%
  • Other 0.5%