Skip to content

Commit a4ed2ca

Browse files
authored
Merge pull request #560 from sebastiw/patch-1
Add 'escript' file type and interpreter for Erlang
2 parents 50e032f + 53e33c6 commit a4ed2ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

identify/extensions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
'eps': {'binary', 'eps'},
7373
'erb': {'text', 'erb'},
7474
'erl': {'text', 'erlang'},
75+
'escript': {'text', 'erlang'},
7576
'ex': {'text', 'elixir'},
7677
'exe': {'binary'},
7778
'exs': {'text', 'elixir'},

identify/interpreters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
'csh': {'shell', 'csh'},
99
'dash': {'shell', 'dash'},
1010
'expect': {'expect'},
11+
'escript': {'erlang'},
1112
'ksh': {'shell', 'ksh'},
1213
'node': {'javascript'},
1314
'nodejs': {'javascript'},

0 commit comments

Comments
 (0)