Skip to content

Commit 04b9989

Browse files
devertonashishagg
authored andcommitted
Use path in node_modules to run tsc. (#17)
The `Makefile` used to assume that `tsc` was on the current path which is not always true. This change modifies the `Makefile` to use the `tsc` script under the `node_modules` folder.
1 parent 005a6b0 commit 04b9989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test:
2727
.PHONY: compile
2828
compile:
2929
rm -rf ./dist/
30-
tsc -p tsconfig.json
30+
./node_modules/typescript/bin/tsc -p tsconfig.json
3131
cp -a src/proto_idl_codegen dist/
3232
.PHONY: tslnt
3333
tslint:

0 commit comments

Comments
 (0)