Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Could i upgrade AMBuild to use other compiler, e.g. Sourcepawn? #134

Open
spumer opened this issue Mar 29, 2021 · 1 comment
Open

Comments

@spumer
Copy link

spumer commented Mar 29, 2021

Hi. I have a repo with a lot of plugins and extensions.
Some plugins has own dir and own .inc files.

I want build whole tree and copy .smx / .so files to final package.

If i change .inc file i want rebuild all plugins who depends from that.

First of all this needed to test, run build for each commit.
Second is i want describe which plugins/exts i want to collect and make "distribution package", which i can deploy to the game server (e.g. by gitlab ci/cd)


I'm Python developer, and it's not big a problem make this, but it will be helpful if you give some advices. Thank you :)

@dvander
Copy link
Member

dvander commented May 5, 2021

Sorry for getting to this so late - yes, AMBuild can do this, and perhaps we should make it a builtin feature. Until then you can copy this script:

https://github.com/alliedmodders/sourcemod/blob/master/plugins/AMBuilder

This shows how to construct the spcomp command-line arguments and how to integrate it into AMBuild's dependency system. It requires a prebuilt copy of spcomp somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants