a simple task processing library for loomscript
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
- declare a reference to the Task loomlib in your
.build
file:"references": [ "System", "Task" ],
- import
pixeldroid.cli.Task
- ...
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
first, install loomtasks and the spec-ls library
$ rake lib:install
this will build the Task library and install it in the currently configured sdk
$ rake test
this will build the Task library, install it in the currently configured sdk, build the test app, and run the test app.
Pull requests are welcome!