-
Notifications
You must be signed in to change notification settings - Fork 30
/
paths.rb
16 lines (14 loc) · 990 Bytes
/
paths.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'json'
require 'yaml'
require 'fileutils'
require 'pathname'
PathFor = {
root: __dir__,
syntax: File.join(__dir__, "autogenerated" , "cpp.tmLanguage.json" ),
embedded_syntax: File.join(__dir__, "autogenerated" , "cpp.embedded.macro.tmLanguage.json" ),
generate_macro_bailout: File.join(__dir__, "main" , "generate_macro_bailout.js" ),
textmate_tools: File.join(__dir__, "main" , "textmate_tools.rb" ),
linter: File.join(__dir__, "lint" , "index.js" ),
fixtures: File.join(__dir__, "language_examples", "fixtures" ),
pattern: ->(pattern_file) { File.join(__dir__, "main", "patterns", pattern_file) },
}