Skip to content

Commit fc6ed44

Browse files
committed
feat: add raw github url
1 parent 320a23b commit fc6ed44

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

setup_flutter

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/bash
22

3-
4-
RAW_GITHUB_URL=https://raw.githubusercontent.com/shan-shaji/setup-flutter/main
5-
6-
source "$RAW_GITHUB_URL/install_homebrew"
7-
source "$RAW_GITHUB_URL/helpers/shell_helper"
8-
source "$RAW_GITHUB_URL/install_java"
9-
source "$RAW_GITHUB_URL/install_android_studio"
10-
source "$RAW_GITHUB_URL/install_fvm"
11-
source "$RAW_GITHUB_URL/install_vs_code"
12-
3+
# Set the base URL
4+
RAW_GITHUB_URL="https://raw.githubusercontent.com/shan-shaji/setup-flutter/main"
5+
6+
# Source the helper functions
7+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/shell_helper")
8+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/install_homebrew")
9+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/install_java")
10+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/install_android_studio")
11+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/install_fvm")
12+
source <(curl -fsSL "$RAW_GITHUB_URL/helpers/install_vs_code")
1313

1414

1515
# Install Homebrew

0 commit comments

Comments
 (0)