Skip to content

Commit

Permalink
created npm and composer commands to generate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MelonSmasher committed Jun 8, 2017
1 parent fa0f054 commit fc82ef1
Show file tree
Hide file tree
Showing 9 changed files with 8,795 additions and 149 deletions.
23 changes: 1 addition & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,4 @@ before_script:
- php artisan api:cache
- cat .env
script:
- vendor/bin/phpunit
# - vendor/bin/phpunit --filter {AuthenticationTest}
# - vendor/bin/phpunit --filter {AccountTest}
# - vendor/bin/phpunit --filter {AliasAccountTest}
# - vendor/bin/phpunit --filter {ServiceAccountTest}
# - vendor/bin/phpunit --filter {AddressTest}
# - vendor/bin/phpunit --filter {BuildingTest}
# - vendor/bin/phpunit --filter {CampusTest}
# - vendor/bin/phpunit --filter {CountryTest}
# - vendor/bin/phpunit --filter {CourseTest}
# - vendor/bin/phpunit --filter {DepartmentTest}
# - vendor/bin/phpunit --filter {DutyTest}
# - vendor/bin/phpunit --filter {EmailTest}dev
# - vendor/bin/phpunit --filter {MobileCarrierTest}
# - vendor/bin/phpunit --filter {MobilePhoneTest}
# - vendor/bin/phpunit --filter {RoomTest}
# - vendor/bin/phpunit --filter {StateTest}
# - vendor/bin/phpunit --filter {DutyAccountAssignmentTest}
# - vendor/bin/phpunit --filter {RoomAccountAssignmentTest}
# - vendor/bin/phpunit --filter {CourseAccountAssignmentTest}
# - vendor/bin/phpunit --filter {DepartmentAccountAssignmentTest}

- composer test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ORM Core API

[![Build Status](https://travis-ci.org/OpenResourceManager/Core.svg?branch=master)](https://travis-ci.org/OpenResourceManager/Core)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## About

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
]
},
"scripts": {
"test": "vendor/bin/phpunit",
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
Expand All @@ -66,6 +67,10 @@
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"composer dump-autoload -o",
"php artisan optimize"
],
"docs": [
"npm run spec",
"npm run spec2md"
]
},
"config": {
Expand Down
149 changes: 32 additions & 117 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions doc/readme.md

This file was deleted.

0 comments on commit fc82ef1

Please sign in to comment.