Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ run:
dart run scip_dart ./snapshots/input/staging-project --verbose

snap:
scip snapshot --to ./snapshots/output/staging-project
scip snapshot --project-root ./snapshots/input/staging-project --to ./snapshots/output/staging-project

lint:
scip lint ./index.scip

stats:
scip stats

gen-proto:
protoc --dart_out=. ./lib/src/gen/scip.proto

Expand Down
2 changes: 1 addition & 1 deletion lib/src/indexer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Future<Index> indexPackage(
}

final metadata = Metadata(
projectRoot: 'file:/' + dirPath,
projectRoot: Uri.file(dirPath).toString(),
textDocumentEncoding: TextEncoding.UTF8,
toolInfo: ToolInfo(
name: 'scip-dart',
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.2"
version: "2.4.1"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -175,7 +175,7 @@ packages:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
version: "2.1.1"
graphs:
dependency: transitive
description:
Expand Down