Skip to content

Commit

Permalink
move CLI from Puc Lua to LuaJit
Browse files Browse the repository at this point in the history
dropped Lua dependency from Kong install script
  • Loading branch information
Tieske committed Dec 11, 2015
1 parent a523dda commit c9835c4
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .ci/setup_kong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ KONG_VERSION=0.5.0
sudo apt-get update

# Installing dependencies required to build development rocks
sudo apt-get install wget curl tar make gcc unzip git liblua5.1-0-dev
sudo apt-get install wget curl tar make gcc unzip git

# Installing dependencies required for Kong
sudo apt-get install sudo netcat lua5.1 openssl libpcre3 dnsmasq uuid-dev
sudo apt-get install sudo netcat openssl libpcre3 dnsmasq uuid-dev

# Installing Kong and its dependencies
sudo apt-get install lsb-release
Expand Down
2 changes: 1 addition & 1 deletion bin/kong
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

-- Kong CLI entry-point (bin/kong).
--
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/config.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/db.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local Faker = require "kong.tools.faker"
local constants = require "kong.constants"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/migrations.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local Migrations = require "kong.tools.migrations"
local constants = require "kong.constants"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/quit.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/reload.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/restart.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/start.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/stop.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local constants = require "kong.constants"
local cutils = require "kong.cli.utils"
Expand Down
2 changes: 1 addition & 1 deletion kong/cli/version.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env lua
#!/usr/bin/env luajit

local cutils = require "kong.cli.utils"
local constants = require "kong.constants"
Expand Down

0 comments on commit c9835c4

Please sign in to comment.