|
|
|
@ -57,21 +57,20 @@ You should now see a `lib` subdirectory containing the necessary dependencies.
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. `moonspeak` can now be downloaded directly by `crush` to the project's `lib` directory,
|
|
|
|
|
along with any other dependency:
|
|
|
|
|
3. `moonspeak` can now be downloaded directly by `crush` to the project's `lib` directory:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
lua crush.lua
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
4. You may now use `moonspeak` in your project by `require()`-ing it.
|
|
|
|
|
4. Now `moonspeak` can be `require()`d in your code, like this:
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
|
local moonspeak = require 'lib.moonspeak'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
5. Any project depending on yours may now fetch your project's dependencies (including `moonspeak`)
|
|
|
|
|
automatically using **crush**, following the above procedure.
|
|
|
|
|
5. Any project depending on yours will now fetch `moonspeak`
|
|
|
|
|
automatically when using `crush`, following the above procedure.
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|