Skip to content

Commit

Permalink
Modernize Sample Extensions's AMBuildScript (#2107)
Browse files Browse the repository at this point in the history
* Modernize Build Scripts

* Fix: Missing dot at extension file name.

Reported by @FortyTwoFortyTwo

* Clean Up: Removed unused variable

* Copying No Longer Needed

Copying the HL2SDK manifest is no longer needed.
Requires latest AMBuild.

* Allow Using Manifests From Project Folder

Check if the manifest already exists in the project folder. If not, then search in the path specified by --hl2sdk-manifest-path.

* Requested Changes by Kenzzer

* Fix Differences Between SDK/No SDK
  • Loading branch information
caxanga334 authored Oct 25, 2024
1 parent 8acb609 commit 600f493
Show file tree
Hide file tree
Showing 9 changed files with 390 additions and 372 deletions.
2 changes: 2 additions & 0 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ class SMConfig(object):
self.mms_root = builder.options.mms_path
else:
self.mms_root = ResolveEnvPath('MMSOURCE112', 'mmsource-1.12')
if not self.mms_root:
self.mms_root = ResolveEnvPath('MMSOURCE', 'metamod-source')
if not self.mms_root:
self.mms_root = ResolveEnvPath('MMSOURCE_DEV', 'metamod-source')
if not self.mms_root:
Expand Down
Loading

0 comments on commit 600f493

Please sign in to comment.