Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f5dd2e

Browse files
committed
review
1 parent04fe43b commit1f5dd2e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ $(XCPROJECT): $(PROJECT)/project.yml
7575
$(PROJECT)/VPNLib/vpn.pb.swift:$(PROJECT)/VPNLib/vpn.proto
7676
protoc --swift_opt=Visibility=public --swift_out=.'Coder-Desktop/VPNLib/vpn.proto'
7777

78-
# All other protobuf targets are vendored from Mutagen
79-
%.pb.swift:
78+
$(MUTAGEN_PROTO_SWIFTS):
8079
protoc\
8180
-I=$(PROJECT)/VPNLib/FileSync/MutagenSDK\
8281
--swift_out=$(PROJECT)/VPNLib/FileSync/MutagenSDK\

‎scripts/mutagen-proto.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fi
4949
# Extract MIT License header
5050
mit_start_line=$(grep -n"^MIT License""$clone_dir/LICENSE"| cut -d":" -f 1)
5151
if [-z"$mit_start_line" ];then
52-
echo"Failed to find MIT License header in Mutagen LICENSE file"
52+
echo"Error:Failed to find MIT License header in Mutagen LICENSE file"
5353
exit 1
5454
fi
5555
license_header=$(sed -n"${mit_start_line},\$p""$clone_dir/LICENSE"| sed's/^/ * /')
@@ -87,7 +87,8 @@ add_file() {
8787
if [-f"$import_file_path" ];then
8888
add_file"$import_file_path"
8989
else
90-
echo"Warning: Import$import_path not found"
90+
echo"Error: Import$import_path not found"
91+
exit 1
9192
fi
9293
fi
9394
done<"$filepath"
@@ -96,7 +97,7 @@ add_file() {
9697
forentry_filein"${entry_files[@]}";do
9798
entry_file_path="$clone_dir/$proto_prefix/$entry_file"
9899
if [!-f"$entry_file_path" ];then
99-
echo"Failed to find$entry_file_path in mutagen repo"
100+
echo"Error:Failed to find$entry_file_path in mutagen repo"
100101
exit 1
101102
fi
102103
add_file"$entry_file_path"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp