Skip to content

Commit

Permalink
Add sampstl stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggi committed Jan 19, 2018
1 parent 0cee866 commit 0ea1c56
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.inc linguist-language=PAWN
*.pwn linguist-language=Pawn
*.inc linguist-language=Pawn
47 changes: 47 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#
# Package only files
#

# Compiled Bytecode, precompiled output and assembly
*.amx
*.lst
*.asm

# Vendor directory for dependencies
dependencies/

# Dependency versions lockfile
pawn.lock


#
# Server/gamemode related files
#

# compiled settings file
# keep `samp.json` file on version control
# but make sure the `rcon_password` field is set externally
# you can use the environment variable `SAMP_RCON_PASSWORD` to do this.
server.cfg

# Plugins directory
plugins/

# binaries
*.exe
*.dll
*.so
announce
samp03svr
samp-npc

# logs
logs/
server_log.txt

#
# Common files
#

*.sublime-workspace
*.sublime-project
7 changes: 7 additions & 0 deletions pawn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"entry": "test.pwn",
"output": "test.amx",
"dependencies": [
"sampctl/samp-stdlib"
]
}
7 changes: 7 additions & 0 deletions test.pwn
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// generated by "sampctl package generate"

#include "mdialog.inc"

main() {
// write tests for libraries here and run "sampctl package run"
}

0 comments on commit 0ea1c56

Please sign in to comment.