Skip to content

Commit 2bab0c1

Browse files
Merge pull request #12 from Southclaws/master
added sampctl package definition file
2 parents bdca153 + 08542b0 commit 2bab0c1

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

.gitignore

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#
2+
# Package only files
3+
#
4+
5+
# Compiled Bytecode, precompiled output and assembly
6+
*.amx
7+
*.lst
8+
*.asm
9+
10+
# Vendor directory for dependencies
11+
dependencies/
12+
13+
# Dependency versions lockfile
14+
pawn.lock
15+
16+
17+
#
18+
# Server/gamemode related files
19+
#
20+
21+
# compiled settings file
22+
# keep `samp.json` file on version control
23+
# but make sure the `rcon_password` field is set externally
24+
# you can use the environment variable `SAMP_RCON_PASSWORD` to do this.
25+
server.cfg
26+
27+
# Plugins directory
28+
plugins/
29+
30+
# binaries
31+
*.exe
32+
*.dll
33+
*.so
34+
announce
35+
samp03svr
36+
samp-npc
37+
38+
# logs
39+
logs/
40+
server_log.txt
41+
crashinfo.txt
42+
43+
#
44+
# Common files
45+
#
46+
47+
*.sublime-workspace

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,15 @@ foreach standalone include (non y_iterate version)
77
Y_Less dropped support for this version of foreach.
88

99
This version of foreach is 19 (0.4.3). This is the standalone version, so it does not require YSI. Use this version if you do not want to include YSI.
10+
11+
## Installation with sampctl
12+
13+
```bash
14+
sampctl package install karimcambridge/SAMP-foreach
15+
```
16+
17+
Then simply include into code:
18+
19+
```pawn
20+
#include <foreach>
21+
```

pawn.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"user": "karimcambridge",
3+
"repo": "SAMP-foreach",
4+
"dependencies": [
5+
"sampctl/samp-stdlib"
6+
]
7+
}

0 commit comments

Comments
 (0)