fix(*): fix references and remove cruft

This commit is contained in:
Evan Morikawa 2015-10-01 09:35:44 -07:00
parent ae69790024
commit dd91c38010
14 changed files with 9 additions and 73 deletions

View file

@ -1,8 +0,0 @@
{
"project_id" : "edgehill",
"conduit_uri" : "https://phab.nylas.com/",
"load" : [
"arclib"
],
"lint.engine": "ArcanistConfigurationDrivenLintEngine"
}

View file

@ -1,10 +0,0 @@
{
"linters": {
"coffeescript-linter": {
"type": "script-and-regex",
"script-and-regex.script": "script/grunt coffeelint:target --target",
"script-and-regex.regex": "/^ ((?P<error>✖)|(?P<warning>⚠)) *line (?P<line>\\d+) +(?P<message>.*)$/m",
"include": "{\\.(e?coffee|cjsx)}"
}
}
}

14
.gitattributes vendored
View file

@ -1,14 +0,0 @@
# Specs depend on character counts, if we don't specify the line endings the
# fixtures will vary depending on platform
spec/fixtures/**/*.js text eol=lf
spec/fixtures/**/*.coffee text eol=lf
spec/fixtures/**/*.less text eol=lf
spec/fixtures/**/*.css text eol=lf
spec/fixtures/**/*.txt text eol=lf
spec/fixtures/dir/**/* text eol=lf
# Git 1.7 does not support **/* patterns
spec/fixtures/css.css text eol=lf
spec/fixtures/sample.js text eol=lf
spec/fixtures/sample.less text eol=lf
spec/fixtures/sample.txt text eol=lf

3
.gitignore vendored
View file

@ -1,3 +1,6 @@
.arcconfig
.arclint
arclib
*.swp
*~
.DS_Store

0
.gitmodules vendored
View file

View file

@ -1 +0,0 @@
v0.10.33

View file

@ -1 +0,0 @@
{"__symbol_cache_version__":11}

View file

@ -1,3 +0,0 @@
<?php
phutil_register_library('customlib', __FILE__);

View file

@ -1,14 +0,0 @@
<?php
/**
* This file is automatically generated. Use 'arc liberate' to rebuild it.
*
* @generated
* @phutil-library-version 2
*/
phutil_register_library_map(array(
'__library_version__' => 2,
'class' => array(),
'function' => array(),
'xmap' => array(),
));

View file

@ -215,7 +215,7 @@ module.exports = (grunt) ->
coffeelint:
options:
configFile: 'coffeelint.json'
configFile: 'build/config/coffeelint.json'
src: [
'internal_packages/**/*.cjsx'
'internal_packages/**/*.coffee'

View file

@ -45,7 +45,6 @@ module.exports = (grunt) ->
packageNames = []
packageDirectories = []
nonPackageDirectories = [
'benchmark'
'dot-nylas'
'vendor'
]

View file

@ -231,9 +231,6 @@ class Application
resourcePath: @resourcePath
specDirectory: filenames[0]
@on 'application:run-benchmarks', ->
@runBenchmarks()
@on 'application:reset-config-and-relaunch', @_resetConfigAndRelaunch
@on 'application:quit', => app.quit()
@ -484,15 +481,3 @@ class Application
devMode = true
safeMode ?= false
new AtomWindow({bootstrapScript, resourcePath, exitWhenDone, isSpec, devMode, specDirectory, specFilePattern, logFile, safeMode})
runBenchmarks: ({exitWhenDone, specDirectory}={}) ->
try
bootstrapScript = require.resolve(path.resolve(global.devResourcePath, 'benchmark', 'benchmark-bootstrap'))
catch error
bootstrapScript = require.resolve(path.resolve(__dirname, '..', '..', 'benchmark', 'benchmark-bootstrap'))
specDirectory ?= path.dirname(bootstrapScript)
isSpec = true
devMode = true
new AtomWindow({bootstrapScript, @resourcePath, exitWhenDone, isSpec, specDirectory, devMode})

View file

@ -1,11 +1,11 @@
_ = require 'underscore'
CategoryStore = require '../stores/category-store'
CategoryStore = require '../flux/stores/category-store'
ChangeLabelsTask = require './change-labels-task'
ChangeFolderTask = require './change-folder-task'
Actions = require '../actions'
ChangeLabelsTask = require '../flux/tasks/change-labels-task'
ChangeFolderTask = require '../flux/tasks/change-folder-task'
Actions = require '../flux/actions'
AccountStore = require '../stores/account-store'
AccountStore = require '../flux/stores/account-store'
class RemoveThreadHelper