Skip to content

Commit f496772

Browse files
committed
1 parent 9961aa2 commit f496772

8 files changed

Lines changed: 6315 additions & 6324 deletions

File tree

extensions/python/OSSREADME.json

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
// ATTENTION - THIS DIRECTORY CONTAINS THIRD PARTY OPEN SOURCE MATERIALS:
2-
[{
3-
"name": "textmate/python.tmbundle",
4-
"version": "0.0.0",
5-
"license": "TextMate Bundle License",
6-
"repositoryURL": "https://github.com/textmate/python.tmbundle",
7-
"licenseDetail": [
8-
"Copyright (c) textmate-python.tmbundle project authors",
9-
"",
10-
"If not otherwise specified (see below), files in this repository fall under the following license:",
11-
"",
12-
"Permission to copy, use, modify, sell and distribute this",
13-
"software is granted. This software is provided \"as is\" without",
14-
"express or implied warranty, and with no claim as to its",
15-
"suitability for any purpose.",
16-
"",
17-
"An exception is made for files in readable text which contain their own license information,",
18-
"or files where an accompanying file exists (in the same directory) with a \"-license\" suffix added",
19-
"to the base-name name of the original file, and an extension of txt, html, or similar. For example",
20-
"\"tidy\" is accompanied by \"tidy-license.txt\"."
21-
]
22-
}]
2+
[
3+
{
4+
"name": "MagicStack/MagicPython",
5+
"version": "0.0.0",
6+
"license": "MIT",
7+
"repositoryURL": "https://github.com/MagicStack/MagicPython"
8+
}
9+
]

extensions/python/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
"grammars": [{
1717
"language": "python",
1818
"scopeName": "source.python",
19-
"path": "./syntaxes/Python.tmLanguage"
19+
"path": "./syntaxes/MagicPython.tmLanguage.json"
2020
},{
2121
"scopeName": "source.regexp.python",
22-
"path": "./syntaxes/Regular Expressions (Python).tmLanguage"
22+
"path": "./syntaxes/MagicRegExp.tmLanguage.json"
2323
}]
2424
},
2525
"scripts": {
2626
"compile": "gulp compile-extension:python",
27-
"watch": "gulp watch-extension:python"
27+
"watch": "gulp watch-extension:python",
28+
"update-grammar": "node ../../build/npm/update-grammar.js MagicStack/MagicPython grammars/MagicPython.tmLanguage ./syntaxes/MagicPython.tmLanguage.json grammars/MagicRegExp.tmLanguage ./syntaxes/MagicRegExp.tmLanguage.json"
2829
}
2930
}

0 commit comments

Comments
 (0)