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()
|
endif()
|
||||||
|
|
||||||
add_custom_target(check-integration
|
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}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
COMMENT "Running integration tests"
|
COMMENT "Running integration tests"
|
||||||
DEPENDS ${PROJECT_AWE_NAME}
|
DEPENDS ${PROJECT_AWE_NAME}
|
||||||
USES_TERMINAL)
|
USES_TERMINAL)
|
||||||
add_dependencies(check-integration test-gravity)
|
add_dependencies(check-integration test-gravity)
|
||||||
add_custom_target(check-themes
|
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}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
COMMENT "Testing themes"
|
COMMENT "Testing themes"
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
local spawn = require("awful.spawn")
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,7 +8,7 @@ local lgi = require("lgi")
|
||||||
local Gio = lgi.Gio
|
local Gio = lgi.Gio
|
||||||
local GdkPixbuf = lgi.GdkPixbuf
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
local runner = require("_runner")
|
local runner = require("_runner")
|
||||||
local spawn = require("awful.spawn")
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
local runner = require("_runner")
|
local runner = require("_runner")
|
||||||
local spawn = require("awful.spawn")
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
local runner = require("_runner")
|
local runner = require("_runner")
|
||||||
local spawn = require("awful.spawn")
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,7 +4,7 @@ local rules = require("ruled.client")
|
||||||
local spawn = require("awful.spawn")
|
local spawn = require("awful.spawn")
|
||||||
local gdebug = require("gears.debug")
|
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
|
if lua_executable == nil or lua_executable == "" then
|
||||||
lua_executable = "lua"
|
lua_executable = "lua"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue