Selaa lähdekoodia

(Commandfile) add command 'shell'

Stefan Siegl 8 vuotta sitten
vanhempi
commit
2b2ef00072
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      Commandfile

+ 6 - 0
Commandfile

@@ -31,6 +31,12 @@ command 'test',
     cd /data/build; `which gmake || which make` test NO_INTERACTION=1 REPORT_EXIT_STATUS=1
     eof
 
+command 'shell',
+  description: 'execute a PHP CLI interactive shell with V8Js loaded',
+  script: <<-eof
+    cd /data/build; php -a -d extension=modules/v8js.so
+    eof
+
 chain 'all',
   commands: [
     { command: 'phpize' },