Skip to content

Commit

Permalink
Fixed project generation error in non-ci environments [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sbx320 committed Aug 1, 2016
1 parent 54e038b commit 2489dfb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ require "compose_files"
require "install_data"
require "install_resources"

CI_BUILD = os.getenv("CI"):lower() == "true"
-- Set CI Build global
local ci = os.getenv("CI")
if ci and ci:lower() == "true" then
CI_BUILD = true
else
CI_BUILD = false
end

workspace "MTASA"
configurations {"Debug", "Release", "Nightly"}
Expand Down

0 comments on commit 2489dfb

Please sign in to comment.