Skip to content

Latest commit

 

History

History
79 lines (48 loc) · 1.79 KB

README.md

File metadata and controls

79 lines (48 loc) · 1.79 KB

task-ls

a simple task processing library for loomscript

installation

Download the library into its matching sdk folder:

$ curl -L -o ~/.loom/sdks/sprint34/libs/Task.loomlib \
    https://github.com/pixeldroid/task-ls/releases/download/v0.0.1/Task-sprint34.loomlib

To uninstall, simply delete the file:

$ rm ~/.loom/sdks/sprint34/libs/Task.loomlib

usage

  1. declare a reference to the Task loomlib in your .build file:
    "references": [
        "System",
        "Task"
    ],
  2. import pixeldroid.cli.Task
  3. ...

TaskDemo

see an example of using the Task here:

you can compile and run the demo from the command line:

$ cd test
$ ~/.loom/sdks/sprint34/bin/osx-x64/tools/lsc TaskDemoCLI.build
$ mv bin/TaskDemoCLI.loom bin/Main.loom
$ ~/.loom/sdks/sprint34/bin/osx-x64/tools/loomexec

or use Rake:

$ rake cli

building

first, install loomtasks and the spec-ls library

compiling from source

$ rake lib:install

this will build the Task library and install it in the currently configured sdk

running tests

$ rake test

this will build the Task library, install it in the currently configured sdk, build the test app, and run the test app.

contributing

Pull requests are welcome!