This repository was archived by the owner on Apr 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +19
-18
lines changed Expand file tree Collapse file tree 3 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ local avro_schema = require('avro_schema')
10
10
local utils = require (' graphql.utils' )
11
11
local clock = require (' clock' )
12
12
local bit = require (' bit' )
13
+ package.cpath = package.cpath .. " ;/usr/share/tarantool/pcre2/?.so"
13
14
local rex , is_pcre2 = utils .optional_require_rex ()
14
15
local avro_helpers = require (' graphql.avro_helpers' )
15
16
local db_schema_helpers = require (' graphql.db_schema_helpers' )
16
17
local error_codes = require (' graphql.error_codes' )
17
18
18
- package.cpath = package.cpath .. " ;/usr/share/tarantool/pcre2/?.so"
19
19
20
20
local check = utils .check
21
21
local e = error_codes
Original file line number Diff line number Diff line change 1
- Name: tarantool- graphql
1
+ Name: graphql
2
2
# During package building {version} is overwritten by Packpack with
3
3
# VERSION. It is set to major.minor.patch.number_of_commits_above_last_tag.
4
4
# major.minor.patch tag and number of commits above are taken from the
@@ -24,7 +24,7 @@ BuildRequires: tarantool-lrexlib-pcre2
24
24
25
25
# Dependencies for a user
26
26
Requires: tarantool >= 1.9.0.0
27
- Requires: tarantool-avro-schema >= 2.0.0
27
+ Requires: tarantool-avro-schema >= 2.0.71
28
28
Requires: tarantool-lulpeg
29
29
#Suggests: tarantool-lrexlib-pcre2
30
30
#Suggests: tarantool-shard
Original file line number Diff line number Diff line change @@ -20,30 +20,31 @@ echo "deb-src http://download.tarantool.org/tarantool/1.9/ubuntu/ ${release} mai
20
20
sudo apt-get update
21
21
sudo apt-get -q -y install tarantool tarantool-dev
22
22
23
- cd ..
24
- git clone https://github.com/rtsisyk/msgpuck
25
- cd msgpuck
26
- cmake .
27
- sudo make install
28
- cd ..
29
- cd graphql
23
+ # cd ..
24
+ # git clone https://github.com/rtsisyk/msgpuck
25
+ # cd msgpuck
26
+ # cmake .
27
+ # sudo make install
28
+ # cd ..
29
+ # cd graphql
30
30
git submodule update --recursive --init
31
31
tarantoolctl rocks install lulpeg
32
32
tarantoolctl rocks install lrexlib-pcre
33
33
tarantoolctl rocks install http
34
34
tarantoolctl rocks install shard " ${SHARD_VERSION} "
35
35
tarantoolctl rocks install avro-schema " ${AVRO_SCHEMA} "
36
- cd ..
36
+ # cd ..
37
37
# lua (with dev headers) is necessary for luacheck
38
38
sudo apt-get install lua5.1
39
39
sudo apt-get install liblua5.1-0-dev
40
- wget " http://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz"
41
- tar xf luarocks-2.4.4.tar.gz
42
- cd luarocks-2.4.4
43
- ./configure
44
- make build
45
- sudo make install
46
- cd ../graphql
40
+ # wget "http://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz"
41
+ # tar xf luarocks-2.4.4.tar.gz
42
+ # cd luarocks-2.4.4
43
+ # ./configure
44
+ # make build
45
+ # sudo make install
46
+ # cd ../graphql
47
+ sudo apt-get install luarocks
47
48
sudo luarocks install luacheck
48
49
sudo pip install virtualenv
49
50
make test
You can’t perform that action at this time.
0 commit comments