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

travis-ci: add Windows support. #28

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open

travis-ci: add Windows support. #28

wants to merge 63 commits into from

Conversation

KyleSanderson
Copy link
Owner

- env
- eval "$(exec /usr/bin/env -i "${SHELL}" -l -c "export")"
- env
- (uname -a | grep Msys) && powershell "cmd /c "\"$VS140COMNTOOLS/vcvars32.bat\" && $SNAKEWRAP ../configure.py -s sdk2013 --hl2sdk-root ../assets --sm-path ../assets/sourcemod-central --mms-path ../assets/mmsource-central --steamworks-path ../assets/SteamworksSDK""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- (uname -a | grep Msys) && powershell "cmd /c "\"$VS140COMNTOOLS/vcvars32.bat\" && $SNAKEWRAP ../configure.py -s sdk2013 --hl2sdk-root ../assets --sm-path ../assets/sourcemod-central --mms-path ../assets/mmsource-central --steamworks-path ../assets/SteamworksSDK""
- (uname -a | grep Msys) && powershell.exe "cmd /c 'call \`"${ENV:VS140COMNTOOLS}\vsvars32.bat\`" && ${ENV:SNAKEWRAP} ../configure.py -s sdk2013 --hl2sdk-root ../assets --sm-path ../assets/sourcemod-central --mms-path ../assets/mmsource-central --steamworks-path ../assets/SteamworksSDK'"

Here's output of running this suggestion on my system (without cloning the repository):

PS C:\Users\lollo> powershell.exe "cmd /c 'call \`"${ENV:VS140COMNTOOLS}\vsvars32.bat\`" && ${ENV:SNAKEWRAP} ../configure.py -s sdk2013 --hl2sdk-root ../assets --sm-path ../assets/sourcemod-central --mms-path ../assets/mmsource-central --steamworks-path ../assets/SteamworksSDK'"
python: can't open file '../configure.py': [Errno 2] No such file or directory

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