Skip to content

Commit f26e2e8

Browse files
committed
Remove unused isar_build script function.
1 parent 5dc6814 commit f26e2e8

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

scripts/app_config/templates/isar_build.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,6 @@ find_isar_library() {
6868
return 1
6969
}
7070

71-
enable_isar_source_build() {
72-
local isar_version="$1"
73-
local git_ref="${isar_version#v}"
74-
75-
git_ref=$(printf '%s\n' "${git_ref}" | sed -e 's:[\/&]:\\&:g')
76-
77-
echo "Enabling Isar source build section in pubspec.yaml (ref: ${git_ref})"
78-
79-
dart "${APP_PROJECT_ROOT_DIR}/tool/process_pubspec_deps.dart" "${ACTUAL_PUBSPEC}" ISAR
80-
81-
if [[ "$(uname)" == 'Darwin' ]]; then
82-
sed -i '' -E "/(isar_community|isar_community_flutter_libs|isar_community_generator)/,+3 s|(ref:).*|\1 ${git_ref}|" "${ACTUAL_PUBSPEC}"
83-
else
84-
sed -i -E "/(isar_community|isar_community_flutter_libs|isar_community_generator)/,+3 s|(ref:).*|\1 ${git_ref}|" "${ACTUAL_PUBSPEC}"
85-
fi
86-
}
87-
8871
build_isar_source() {
8972
echo "------------------------------------------------------------"
9073
echo "Building Isar database library from source (BUILD_ISAR_FROM_SOURCE=1)"

0 commit comments

Comments
 (0)