-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into hit-submission-fix
- Loading branch information
Showing
91 changed files
with
8,820 additions
and
6,373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.idea | ||
.meteor | ||
.npm | ||
node_modules | ||
packages/* | ||
smart.lock | ||
versions.json | ||
|
||
docs/client/data | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
printWidth: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
language: objective-c | ||
sudo: required | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
|
||
before_install: | ||
# Install phantomjs | ||
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-macosx.zip | ||
- unzip phantomjs-2.0.0-macosx.zip | ||
- export PATH="`pwd`/phantomjs-2.0.0-macosx/bin:${PATH}" | ||
# Run Arunoda's script | ||
- "curl -L http://git.io/ejPSng | /bin/sh" | ||
script: "make test" | ||
- "curl -L https://git.io/ejPSng | /bin/sh" | ||
|
||
# Later stuff for Meteor 1.4: see https://github.com/arunoda/travis-ci-meteor-packages/pull/45 | ||
# Make sure this matches what is in package.json. | ||
env: | ||
- CXX=g++-4.8 METEOR_RELEASE=1.4.4.6 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": [ | ||
"esbenp.prettier-vscode" | ||
], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"files.exclude": { | ||
"**/.npm": true, // this excludes all folders from the explore tree | ||
"**/node_modules": true, | ||
"packages": true // this excludes the folder only from the root | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Code | ||
|
||
This repo is written in ES6 with a `.prettierrc` to auto-format code. | ||
|
||
Initial parts of this codebase were written in Coffeescript. However, ES6 | ||
implements many useful functions from Coffeescript while allowing more people to | ||
read the code and contribute. We [decaffeinated] the repo and in the future may | ||
convert fully to TypeScript. | ||
|
||
[decaffeinated]: https://github.com/TurkServer/turkserver-meteor/pull/99 | ||
|
||
TODO: set up format or lint hooks with something like AirBnb's [Javascript style | ||
guide](https://github.com/airbnb/javascript). | ||
|
||
## Testing | ||
|
||
Clone this entire repository: | ||
|
||
``` | ||
git clone https://github.com/TurkServer/turkserver-meteor.git turkserver | ||
``` | ||
|
||
Then run the tests: | ||
|
||
``` | ||
cd turkserver | ||
meteor --release METEOR.VERSION test-packages ./ | ||
``` | ||
|
||
Where you should replace `METEOR.VERSION` with the `api.versionsFrom` specified in `package.json`. | ||
If you checked out the repository into an existing Meteor app, you can run `meteor test-packages turkserver` from your app instead. | ||
|
||
Browse to `http://localhost:3000` to run the tests. | ||
|
||
You don't have to run the tests yourself; this project is set up for continuous integration on [Travis CI](https://travis-ci.org/TurkServer/turkserver-meteor), which runs these tests on each commit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## vNEXT | ||
|
||
- Convert all Coffeescript to ES6 and support up to Meteor 1.4. | ||
|
||
## v0.5.0 | ||
|
||
- First release on Atmosphere (Meteor's package system). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.