Added basic support for PHP.

development
Shawn Davis 3 years ago
parent d4935af4e0
commit 34f3d1e2a7
  1. 5
      scripttease/lib/snippets/mappings.py
  2. 3
      scripttease/lib/snippets/php.py

@ -5,6 +5,7 @@ from .django import django
from .messages import messages from .messages import messages
from .mysql import mysql from .mysql import mysql
from .pgsql import pgsql from .pgsql import pgsql
from .php import php
from .posix import posix from .posix import posix
from .python import python from .python import python
from .ubuntu import ubuntu from .ubuntu import ubuntu
@ -56,6 +57,6 @@ def merge_dictionaries(first: dict, second: dict) -> dict:
MAPPINGS = { MAPPINGS = {
'centos': merge(centos, django, messages, mysql, pgsql, posix, python), 'centos': merge(centos, django, messages, mysql, pgsql, php, posix, python),
'ubuntu': merge(ubuntu, django, messages, mysql, pgsql, posix, python), 'ubuntu': merge(ubuntu, django, messages, mysql, pgsql, php, posix, python),
} }

@ -0,0 +1,3 @@
php = {
'module': "phpenmod {{ args[0] }}",
}
Loading…
Cancel
Save