Skip to content

Commit

Permalink
Merge pull request #101 from lume/master
Browse files Browse the repository at this point in the history
get updates
  • Loading branch information
p3nGu1nZz authored Nov 25, 2020
2 parents a5231d5 + b71bebf commit 4f765ff
Show file tree
Hide file tree
Showing 29 changed files with 858 additions and 345 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
run: |
npm install
npm run build --if-present
npm test
npm run test:verbose
env:
CI: true
2 changes: 1 addition & 1 deletion as-pect.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
/**
* A set of globs passed to the glob package that qualify typescript files for testing.
*/
include: ['src/as/**/*.spec.ts'],
include: ['src/as/index.spec.ts'],
/**
* A set of globs passed to the glob package that qualify files to be added to each test.
*/
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
},
"scripts": {
"test": "asp",
"test:verbose": "asp --verbose",
"test:trace": "asp --verbose 2>&1 | grep \"\\[Fail\\]\" -A 5",
"^ test:trace comment": "This shows only failed tests, along with a few stack traces lines if any",
"build:as:untouched": "asc src/as/index.ts -b build/as/untouched.wasm -t build/as/untouched.wat --sourceMap --validate --debug",
"build:as:optimized": "asc src/as/index.ts -b build/as/optimized.wasm -t build/as/optimized.wat --sourceMap --validate --optimize",
"build:as": "npm run build:as:untouched && npm run build:as:optimized",
Expand All @@ -21,9 +24,9 @@
"prettier": "prettier --write './**/?*.*'"
},
"devDependencies": {
"@as-pect/cli": "3.2.7",
"@as-pect/cli": "4.0.0",
"@types/node": "^14.0.13",
"assemblyscript": "0.10.0",
"assemblyscript": "0.13.0",
"live-server": "^1.2.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
Expand Down
3 changes: 3 additions & 0 deletions src/as/cameras/index.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './ArrayCamera.spec'
import './Camera.spec'
import './PerspectiveCamera.spec'
1 change: 0 additions & 1 deletion src/as/constants.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* @author TristanVALCKE / https://github.com/Itee
*/
/* global QUnit */

import * as Constants from './constants'

Expand Down
Loading

0 comments on commit 4f765ff

Please sign in to comment.