https://github.com/pixeldroid/task-ls
a simple task processing library for loomscript
https://github.com/pixeldroid/task-ls
library loomlib loomscript sequence task
Last synced: 3 months ago
JSON representation
a simple task processing library for loomscript
- Host: GitHub
- URL: https://github.com/pixeldroid/task-ls
- Owner: pixeldroid
- License: other
- Created: 2017-05-04T23:57:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-19T02:26:58.000Z (over 7 years ago)
- Last Synced: 2025-01-08T20:32:38.325Z (5 months ago)
- Topics: library, loomlib, loomscript, sequence, task
- Language: LoomScript
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
task-ls
=======a simple task processing library for loomscript
- [installation](#installation)
- [usage](#usage)
- [building](#building)
- [contributing](#contributing)## 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.loomlibTo uninstall, simply delete the file:
$ rm ~/.loom/sdks/sprint34/libs/Task.loomlib
## usage
0. declare a reference to the Task loomlib in your `.build` file:
```ls
"references": [
"System",
"Task"
],
```
0. import `pixeldroid.cli.Task`
0. ...### TaskDemo
see an example of using the Task here:
* [TaskDemoCLI.build][TaskDemoCLI.build]
* [TaskDemoCLI.ls][TaskDemoCLI.ls]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/loomexecor use Rake:
$ rake cli
## building
first, install [loomtasks][loomtasks] and the [spec-ls library][spec-ls]
### 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!
[loomtasks]: https://github.com/pixeldroid/loomtasks "Rake tasks for working with loomlibs"
[TaskDemoCLI.build]: ./cli/src/TaskDemoCLI.build "build file for the demo"
[TaskDemoCLI.ls]: ./cli/src/demo/TaskDemoCLI.ls "source file for the demo"
[spec-ls]: https://github.com/pixeldroid/spec-ls "a simple spec framework for Loom"