Skip to content

Commit

Permalink
add sampctl support #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreyas-Sreelal committed Nov 11, 2018
1 parent cea0ecc commit 4378956
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

*amx
*amx
*dll
*so
dependencies/
2 changes: 1 addition & 1 deletion pawn-tests/test.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define RUN_TESTS
#include <YSI\y_testing>

#include<pawnscraper>
#include "../include/pawnscraper"

Test:TestParseHtmlDocument(){
new Html:doc = ParseHtmlDocument("\
Expand Down
31 changes: 31 additions & 0 deletions pawn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"user": "Sreyas-Sreelal",
"repo": "pawn-scraper",
"entry": "test/test.pwn",
"output": "test/test.amx",
"dependencies": ["sampctl/pawn-stdlib"],
"include_path": "include",
"builds": [
{
"name": "test",
"includes": ["./include"]
}
],
"runtime": {
"plugins": ["Sreyas-Sreelal/pawn-scraper"]
},
"resources": [
{
"name": "pawn-scraper-linux-x86.zip",
"platform": "linux",
"archive": true,
"plugins": ["plugins/PawnScraper.so"]
},
{
"name": "pawn-scraper-windows-x86.zip",
"platform": "windows",
"archive": true,
"plugins": ["plugins/PawnScraper.dll"]
}
]
}

0 comments on commit 4378956

Please sign in to comment.