Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance #3

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
decls
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "steelbrain"
}
3 changes: 2 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[ignore]
node_modules/**/.*

[include]

[libs]
decls
interface
node_modules/flow-atom-api/sig/v1.7.4
node_modules/flow-atom-api/node_modules/flow-json/sig
Expand All @@ -19,3 +19,4 @@ node_modules/flow-atom-api/node_modules/flow-electron-api/sig/v1.1.1
node_modules/flow-atom-api/node_modules/iflow-jquery/index.js.flow

[options]
module.system=node
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.DS_Store
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016 Philipp von Radziewsky
Copyright (c) 2016 AtomDebugger Team (Philipp von Radziewsky & Steel Brain)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
21 changes: 21 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
dependencies:
override:
- curl -L https://atom.io/download/deb -o atom-amd64.deb
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get update
- sudo apt-get -f install
- node --version
- npm --version
- atom --version
- npm prune
- npm install
- apm rebuild
- npm run build

test:
override:
- npm test

machine:
node:
version: 6.3.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably fine to just go with 6 here to use the latest v6.x.x version available on the CI environment.

File renamed without changes.
9 changes: 9 additions & 0 deletions decls/jasmine.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* @flow */

declare function it(name: string, callback: (() => void)): void;
declare function fit(name: string, callback: (() => void)): void;
declare function expect(value: any): Object;
declare function describe(name: string, callback: (() => void)): void;
declare function fdescribe(name: string, callback: (() => void)): void;
declare function beforeEach(callback: (() => void)): void;
declare function afterEach(callback: (() => void)): void;
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@
"engines": {
"atom": ">=1.0.0 <2.0.0"
},
"scripts": {
"test": "(apm test) && (flow check | grep -q '0 errors') && (eslint . )",
"clean": "rm -rf lib",
"build": "npm run clean; babel src --out-dir lib",
"watch": "npm run clean; babel src --out-dir lib --watch"
},
"dependencies": {
"atom-package-deps": "^4.0.0",
"season": "^5.2.0",
"underscore-plus": "^1.0.0"
},
"devDependencies": {
"flow-atom-api": "https://github.com/flow-atom/flow-atom-api.git"
"eslint-config-steelbrain": "^1.0.4",
"flow-atom-api": "https://github.com/flow-atom/flow-atom-api.git",
"flow-bin": "^0.30.0",
"jasmine-fix": "^1.0.1"
},
"package-deps": [
"debugger-ui-default"
Expand Down