Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from egovernments/dev
Browse files Browse the repository at this point in the history
direct from @gov repo
  • Loading branch information
abhinav-egov authored Mar 8, 2021
2 parents 21d17bc + dfa56d7 commit e26bd20
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions web/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ BRANCH="$(git branch --show-current)"

echo "Main Branch: $BRANCH"

# if [ "$BRANCH" != "dev" ] || [ "$BRANCH" != "master" ]; then
if [ "$BRANCH" != "dev" ] || [ "$BRANCH" != "master" ]; then

# INTERNALS="digit-ui-internals"
# rm -rf $INTERNALS
# git clone -b development https://github.com/egovernments/digit-ui-internals.git $INTERNALS
# cd $INTERNALS && echo "Branch: $(git branch --show-current)" && echo "$(git log -1 --pretty=%B)" && yarn && yarn build && find . -name "node_modules" -type d -prune -print -exec rm -rf '{}' \;
# cd ..
INTERNALS="digit-ui-internals"
rm -rf $INTERNALS
git clone -b development https://github.com/egovernments/digit-ui-internals.git $INTERNALS
cd $INTERNALS && echo "Branch: $(git branch --show-current)" && echo "$(git log -1 --pretty=%B)" && yarn && yarn build && find . -name "node_modules" -type d -prune -print -exec rm -rf '{}' \;
cd ..

# rm -rf node_modules
# rm yarn.lock
rm -rf node_modules
rm yarn.lock

# fi
fi

# yarn install

0 comments on commit e26bd20

Please sign in to comment.