Skip to content

Commit

Permalink
ci: 👷 tired of ci and update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Apr 19, 2022
1 parent b10e632 commit 08194a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
run: bash -e install.sh
- name: Activate Oxidizer
run: |
export OXIDIZER='.'
if [[ $(uname -s) == "Linux" ]]; then
cat $HOME/.profile
. $HOME/.profile
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ case $SHELL in
esac

printf "📦 Adding Oxidizer into $shell_conf...\n"
echo "
echo '
# Oxidizer
if [[ -z $OXIDIZER ]]; then
export OXIDIZER=$HOME/oxidizer
fi
. $OXIDIZER/oxidizer.sh" >>$shell_conf
. $OXIDIZER/oxidizer.sh' >>$shell_conf

echo "⚙️ Adding Custom settings..."
cp $OXIDIZER/demo-custom.sh $OXIDIZER/custom.sh
Expand All @@ -82,7 +82,7 @@ cp $OXIDIZER/demo-custom.sh $OXIDIZER/custom.sh
sd ".* STARTUP=.*" "export STARTUP=1" $OXIDIZER/custom.sh

# set path of oxidizer
sd "source OXIDIZER=.*" "source OXIDIZER=$OXIDIZER/oxidizer.sh" $shell_conf
sd ". OXIDIZER=.*" ". OXIDIZER=$OXIDIZER/oxidizer.sh" $shell_conf

if test ! "$(command -v code)"; then
echo "No VS Code installed. "
Expand Down

0 comments on commit 08194a3

Please sign in to comment.