agrippa1994 / pawncc

PawnCC Docker Image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PawnCC Docker Image Build Status

The Dockerfile builds an image that compiles the PawnCC compiler.

Usage

  • Pull the image from the official Docker registry
docker pull agripp1994/pawncc
  • Compile an application (see main.pwn)
docker run -ti --rm -v $(pwd):/example agrippa1994/pawncc pawncc /example/main.pwn -o/example/main.amx
  • The compiler will produce an *.amx file that can be executed by the interpreter
docker run -ti --rm -v $(pwd):/example agrippa1994/pawncc pawnrun /example/main.amx
  • If the execution succeeds the exit code will be zero (0). Use $? to verify the exit code
echo $? 

About

PawnCC Docker Image


Languages

Language:Shell 92.1%Language:Pawn 7.9%