Rename Lua executable envvar
Use `LUA` based on the traditional naming scheme in Makefiles.
This commit is contained in:
parent
d9640cf027
commit
4d43ccda6d
|
@ -412,14 +412,14 @@ if ("${TEST_MANUAL_SCREENS}" MATCHES "1")
|
|||
endif()
|
||||
|
||||
add_custom_target(check-integration
|
||||
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' LUA_EXECUTABLE='${LUA_EXECUTABLE}' ${TESTS_RUN_ENV} ./tests/run.sh \$\${TEST_RUN_ARGS:--W}
|
||||
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' LUA='${LUA_EXECUTABLE}' ${TESTS_RUN_ENV} ./tests/run.sh \$\${TEST_RUN_ARGS:--W}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Running integration tests"
|
||||
DEPENDS ${PROJECT_AWE_NAME}
|
||||
USES_TERMINAL)
|
||||
add_dependencies(check-integration test-gravity)
|
||||
add_custom_target(check-themes
|
||||
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' LUA_EXECUTABLE='${LUA_EXECUTABLE}' ${TESTS_RUN_ENV} ./tests/themes/run.sh
|
||||
${CMAKE_COMMAND} -E env CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' LUA='${LUA_EXECUTABLE}' ${TESTS_RUN_ENV} ./tests/themes/run.sh
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Testing themes"
|
||||
USES_TERMINAL
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local spawn = require("awful.spawn")
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
|
@ -8,7 +8,7 @@ local lgi = require("lgi")
|
|||
local Gio = lgi.Gio
|
||||
local GdkPixbuf = lgi.GdkPixbuf
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
local runner = require("_runner")
|
||||
local spawn = require("awful.spawn")
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
local runner = require("_runner")
|
||||
local spawn = require("awful.spawn")
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
local runner = require("_runner")
|
||||
local spawn = require("awful.spawn")
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
|
@ -4,7 +4,7 @@ local rules = require("ruled.client")
|
|||
local spawn = require("awful.spawn")
|
||||
local gdebug = require("gears.debug")
|
||||
|
||||
local lua_executable = os.getenv("LUA_EXECUTABLE")
|
||||
local lua_executable = os.getenv("LUA")
|
||||
if lua_executable == nil or lua_executable == "" then
|
||||
lua_executable = "lua"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue