Atom開発者向け
src/window-bootstrap.coffee
atom.startEditorWindowすると起動してしまうのでコメントアウトして自分で定義したブートロードを挟む
# Like sands through the hourglass, so are the days of our lives.
startTime = Date.now()
require './window'
Atom = require './atom'
window.atom = Atom.loadOrCreate('editor')
atom.initialize()
# atom.startEditorWindow()
# window.atom.loadTime = Date.now() - startTime
# console.log "Window load time: #{atom.getWindowLoadTime()}ms"
cssPath = '/Applications/Atom.app/Contents/Resources/app/static/editor.less'
content = atom.themes.loadLessStylesheet cssPath
css = atom.themes.applyStylesheet cssPath, content
{TextEditorView} = require 'atom'
editorView = new TextEditorView {}
editorView.appendTo 'body'
window.editorView = editorView
editorView.editor.buffer.setText 'testtesttestest`'
clone した atomのディレクトリでcoffeeのビルドだけ行う
npm install
npm install grunt
grunt --gruntfile build/Gruntfile.coffee coffee install