File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
scripts/app_config/templates Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff 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-
8871build_isar_source () {
8972 echo " ------------------------------------------------------------"
9073 echo " Building Isar database library from source (BUILD_ISAR_FROM_SOURCE=1)"
You can’t perform that action at this time.
0 commit comments