File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Vagrant Commandfile
3
+ # (use with vagrant-devcommands plugin)
4
+ #
5
+
6
+ command 'phpize',
7
+ description: 'executes "phpize" to configure source tree for installed PHP version',
8
+ script: 'cd /data/v8js && phpize'
9
+
10
+ command 'configure',
11
+ description: 'executes "configure" to prepare build',
12
+ script: <<-eof
13
+ bash -c 'cd /data/build; ../v8js/configure `bash -c "if test -d /opt/libv8-*; then echo -n --with-v8js=; echo /opt/libv8-*; fi"` `test -d "/usr/lib64" && echo --with-libdir=lib64` CXXFLAGS="-Wall -Wno-write-strings"'
14
+ eof
15
+
16
+ command 'clean',
17
+ description: 'executes "make clean"',
18
+ script: <<-eof
19
+ cd /data/build; `which gmake || which make` clean
20
+ eof
21
+
22
+ command 'build',
23
+ description: 'executes "make"',
24
+ script: <<-eof
25
+ cd /data/build; `which gmake || which make`
26
+ eof
27
+
28
+ command 'test',
29
+ description: 'executes "make test"',
30
+ script: <<-eof
31
+ cd /data/build; `which gmake || which make` test NO_INTERACTION=1 REPORT_EXIT_STATUS=1
32
+ eof
33
+
34
+ chain 'all',
35
+ commands: [
36
+ { command: 'phpize' },
37
+ { command: 'configure' },
38
+ { command: 'clean' },
39
+ { command: 'build' },
40
+ { command: 'test' }
41
+ ]
You can’t perform that action at this time.
0 commit comments