Skip to content

Commit 1d9ef43

Browse files
author
dakyskye
committed
genesis
0 parents  commit 1d9ef43

File tree

14 files changed

+590
-0
lines changed

14 files changed

+590
-0
lines changed

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
target/
2+
tests/
3+
.cargo-ok
4+
.gitattributes
5+
.gitignore
6+
pawn.json
7+
env.inc
8+
README.md

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.pwn linguist-language=Pawn
2+
*.inc linguist-language=Pawn

.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target/
4+
5+
# These are backup files generated by rustfmt
6+
**/*.rs.bk
7+
8+
*amx
9+
*dll
10+
*so
11+
*zip
12+
*log
13+
14+
/dependencies/
15+
/gamemodes/
16+
/plugins/
17+
/scriptfiles/
18+
/filterscripts/
19+
20+
announce
21+
samp03svr
22+
samp-npc
23+
24+
announce.exe
25+
samp-server.exe
26+
samp-npc.exe
27+
28+
server.cfg
29+
server_log.txt

Cargo.lock

Lines changed: 251 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "pawn-env"
3+
version = "0.1.0"
4+
authors = ["dakyskye <[email protected]>"]
5+
edition = "2018"
6+
7+
[lib]
8+
name = "pawn_env"
9+
crate-type = ["cdylib"]
10+
11+
[dependencies]
12+
samp = {git="https://github.com/ZOTTCE/samp-rs/",branch="async-amx",features = ["async"]}
13+
log = "0.4.6"
14+
fern = "0.5.7"

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM rust:latest
2+
3+
WORKDIR /pawn-env
4+
5+
COPY . .
6+
7+
RUN apt update; apt install -y gcc-multilib
8+
9+
RUN rustup install stable-i686-unknown-linux-gnu
10+
11+
ENTRYPOINT [ "make", "build" ]

0 commit comments

Comments
 (0)