##// END OF EJS Templates
sync
cin -
r8:6d80d7901b4c v1.0.0-rc3 default
parent child
Show More
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
@@ -1,5 +1,5
1 plugins {
1 plugins {
2 id "org.implab.gradle-typescript" version "1.3.2"
2 id "org.implab.gradle-typescript" version "1.3.3"
3 id "ivy-publish"
3 id "ivy-publish"
4 }
4 }
5
5
@@ -36,6 +36,17 configureTsMain {
36 }
36 }
37 }
37 }
38
38
39 configureTsTest {
40 compilerOptions {
41 baseUrl = "."
42 paths = [
43 "@implab/djx" : [ sources.main.output.typingsDir.get().toString() ],
44 "@implab/djx/*" : [ "${sources.main.output.typingsDir.get().toString()}/*" ]
45 ]
46 types = ["requirejs", sources.main.output.typingsDir.get().toString()]
47 }
48 }
49
39 npmPackMeta {
50 npmPackMeta {
40 meta {
51 meta {
41 name = "@$npmScope/$project.name"
52 name = "@$npmScope/$project.name"
@@ -51,8 +51,6 export class TapeWriter implements IDest
51 type TestCallback = (ok: (msg: string) => void, fail: (msg: string) => void, trace: TraceSource) => void;
51 type TestCallback = (ok: (msg: string) => void, fail: (msg: string) => void, trace: TraceSource) => void;
52 type AsyncTestCallback = (trace: TraceSource) => PromiseLike<void>;
52 type AsyncTestCallback = (trace: TraceSource) => PromiseLike<void>;
53
53
54 export function test(name: string, cb: TestCallback ): void;
55 export function test(name: string, cb: AsyncTestCallback): void;
56 export function test(name: string, cb: TestCallback | AsyncTestCallback) {
54 export function test(name: string, cb: TestCallback | AsyncTestCallback) {
57
55
58 }
56 }
@@ -1,8 +1,8
1 import { test } from "./TestTraits";
1 import { test } from "./TestTraits";
2 import { delay } from "@implab/core-amd/safe";
2 import { delay } from "@implab/core-amd/safe";
3 import { assert } from "chai";
3 import { assert } from "chai";
4 import "@implab/djx";
5 import css = require("@implab/djx/css!my,css");
4 import css = require("@implab/djx/css!my,css");
5 import {} from "@implab/djx/i18n";
6
6
7 test("simple", (ok, fail, log) => {
7 test("simple", (ok, fail, log) => {
8 setTimeout(() => {
8 setTimeout(() => {
@@ -10,9 +10,9
10 "../main/typings"
10 "../main/typings"
11 ],
11 ],
12 "paths": {
12 "paths": {
13 "@implab/djx" : ["../main/ts", "../main/typings"]
13 "@implab/djx" : ["../main/ts", "../main/typings"],
14 //"@implab/djx/*" : ["../main/ts/*", "../main/typings/*" ]
14 "@implab/djx/*" : ["../main/ts/*", "../main/typings/*" ]
15 },
15 },
16 "types": ["requirejs"]
16 "types": ["requirejs", "../main/typings"]
17 }
17 }
18 } No newline at end of file
18 }
General Comments 0
You need to be logged in to leave comments. Login now