Skip to content

Commit 71815f2

Browse files
authored
Updated ReadMe for Pastbin
1 parent 9522261 commit 71815f2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,16 @@ If the Library is already called by a Programm using this SCM loader, SCM will c
5252

5353
```lua
5454
--@requires subLibrary
55-
require("subLibrary")
56-
```
55+
require("./libs/subLibrary")
5756

57+
```
5858
The comment tells SCM to look for the sub-library and, if it's not already installed, it will try to download it.
5959
This prevent the programm from Crashing, should SCM not be installed.
60+
61+
### Pastebin
62+
63+
If there is a "@" after the library name, it will look for the library and install it from the Pastebin-Code instead of GitHub
64+
```lua
65+
--@requires subLibrary@z4VRj21Y
66+
```
67+

0 commit comments

Comments
 (0)