Skip to content

Commit b7e6ce5

Browse files
committed
🚿 Quit using dlink
Close #40
1 parent b9e0ab3 commit b7e6ce5

File tree

33 files changed

+30
-114
lines changed

33 files changed

+30
-114
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

Makefile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
TOOLS := ${CURDIR}/.tools
2-
31
.DEFAULT_GOAL := help
42

53
help:
64
@cat $(MAKEFILE_LIST) | \
75
perl -ne 'print if /^\w+.*##/;' | \
86
perl -pe 's/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;'
97

10-
tools: FORCE ## Install development tools
11-
@mkdir -p ${TOOLS}
12-
@deno install -f --allow-write --allow-read --allow-net --root ${TOOLS} https://deno.land/x/dlink/dlink.ts
13-
148
fmt: FORCE ## Format code
159
@deno fmt
1610

@@ -30,8 +24,4 @@ gen: FORCE ## Generate codes
3024
@deno run --unstable -A ./scripts/gen-function/gen-function.ts
3125
@make fmt
3226

33-
dlink: FORCE ## Update dlink
34-
(cd denops_std; ${TOOLS}/bin/dlink)
35-
@make fmt
36-
3727
FORCE:

denops_std/anonymous/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Denops } from "../vendor/https/deno.land/x/denops_core/mod.ts";
1+
import { Denops } from "../deps.ts";
22

33
// https://github.com/microsoft/TypeScript/issues/26223#issuecomment-674500430
44
export type TupleOf<T, N extends number> = N extends N

denops_std/anonymous/mod_test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import {
2-
assertEquals,
3-
assertThrowsAsync,
4-
} from "../vendor/https/deno.land/std/testing/asserts.ts";
5-
import { test } from "../vendor/https/deno.land/x/denops_core/test/mod.ts";
1+
import { assertEquals, assertThrowsAsync } from "../deps_test.ts";
2+
import { test } from "../deps_test.ts";
63
import * as anonymous from "./mod.ts";
74

85
test({

denops_std/autocmd/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Denops } from "../vendor/https/deno.land/x/denops_core/mod.ts";
1+
import { Denops } from "../deps.ts";
22
import { AutocmdEvent } from "./types.ts";
33

44
type CommonOptions = {

denops_std/autocmd/common_test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { test } from "../vendor/https/deno.land/x/denops_core/test/mod.ts";
2-
import { assertEquals } from "../vendor/https/deno.land/std/testing/asserts.ts";
1+
import { assertEquals, test } from "../deps_test.ts";
32
import { globals } from "../variable/mod.ts";
43
import { define, emit, emitAll, list, remove } from "./common.ts";
54

denops_std/autocmd/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Denops } from "../vendor/https/deno.land/x/denops_core/mod.ts";
1+
import { Denops } from "../deps.ts";
22
import { execute } from "../helper/execute.ts";
33
import { AutocmdEvent } from "./types.ts";
44
import {

denops_std/autocmd/group_test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { test } from "../vendor/https/deno.land/x/denops_core/test/mod.ts";
2-
import { assertEquals } from "../vendor/https/deno.land/std/testing/asserts.ts";
1+
import { assertEquals, test } from "../deps_test.ts";
32
import { globals } from "../variable/mod.ts";
43
import { group } from "./group.ts";
54

denops_std/deps.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * as fs from "https://deno.land/std@0.100.0/fs/mod.ts";
2+
export * as hash from "https://deno.land/std@0.100.0/hash/mod.ts";
3+
export * as path from "https://deno.land/std@0.100.0/path/mod.ts";
4+
5+
export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/mod.ts";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
export * from "https://deno.land/std@0.100.0/testing/asserts.ts";
2+
13
export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/test/mod.ts";

0 commit comments

Comments
 (0)