Skip to content

Commit 3bd79b1

Browse files
authored
update from wiki
1 parent 08db7bd commit 3bd79b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ scm add testProgram@7ByR3NYn
3131
```
3232

3333
## Build scripts
34-
### Program
34+
## SCM Program
3535
To add libraries to your programs, you will have to require **SCM** first.
3636
```lua
3737
local scm = require("./scm")
@@ -42,12 +42,12 @@ scm:load("testLibrary")
4242
```
4343
If a library is missing, **SCM** will try to install it.
4444

45-
### Libraries
46-
Furthermore, **SCM** can also check nested sub-libraries within the loaded library. To do that, you will have to add a comment before requiring the library. This has the advantage of the libraries still being usable without **SCM**, as a comment does not interfer with the logic of the script.
45+
Alternatively you can add a comment before requiring the library. This has the advantage of the libraries still being usable without **SCM**, as a comment does not interfere with the logic of the script.
4746
```lua
4847
--@requires subLibrary
4948
require("./libs/subLibrary")
5049
```
50+
5151
### Pastebin
5252
You can also use libraries hosted on Pastebin. Just attach the Pastebin code at the end of the name, separated by an `@`.
5353
```lua

0 commit comments

Comments
 (0)