File tree Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Original file line number Diff line number Diff line change
1
+ /.tools
Original file line number Diff line number Diff line change
1
+ TOOLS := ${CURDIR}/.tools
2
+
1
3
.DEFAULT_GOAL := help
2
4
3
5
help :
4
6
@cat $(MAKEFILE_LIST ) | \
5
7
perl -ne ' print if /^\w+.*##/;' | \
6
8
perl -pe ' s/(.*):.*##\s*/sprintf("%-20s",$$1)/eg;'
7
9
10
+ tools : FORCE # # Install development tools
11
+ @mkdir -p ${TOOLS}
12
+ @deno install -A -f -n udd --root ${TOOLS} https://deno.land/x/udd@0.4.0/main.ts
13
+
8
14
fmt : FORCE # # Format code
9
15
@deno fmt
10
16
@@ -24,4 +30,8 @@ gen: FORCE ## Generate codes
24
30
@deno run --unstable -A ./scripts/gen-function/gen-function.ts
25
31
@make fmt
26
32
33
+ update : FORCE # # Update dependencies
34
+ @${TOOLS} /bin/udd $$(find ./denops_std -name '*.ts' )
35
+ @make fmt
36
+
27
37
FORCE :
Original file line number Diff line number Diff line change 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" ;
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
4
5
- export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/mod.ts" ;
5
+ export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/mod.ts#^ " ;
Original file line number Diff line number Diff line change 1
- export * from "https://deno.land/std@0.100.0/testing/asserts.ts" ;
1
+ export * from "https://deno.land/std@0.100.0/testing/asserts.ts#^ " ;
2
2
3
- export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/test/mod.ts" ;
3
+ export * from "https://deno.land/x/denops_core@v1.0.0-alpha.12/test/mod.ts#^ " ;
You can’t perform that action at this time.
0 commit comments