Skip to content

Commit

Permalink
Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdana committed Dec 4, 2023
1 parent 4119ea0 commit 0ff2a0d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
37 changes: 19 additions & 18 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
#!/bin/bash

set -e
export PATH="~/.dotfiles/bin:$PATH"

~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/bash_profile ~/.bash_profile
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/bashrc ~/.bashrc
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/Brewfile ~/Brewfile
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/gemrc ~/.gemrc
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/gitconfig ~/.gitconfig
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/gitignore ~/.gitignore
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/gemrc ~/.gemrc
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/irbrc ~/.irbrc
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/finicky.js ~/.finicky.js
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/vimrc ~/.vimrc
~/.dotfiles/bin/echodo mkdir -p ~/.ssh
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/ssh_config ~/.ssh/config
~/.dotfiles/bin/echodo mkdir -p ~/.bundle
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/bundle_config ~/.bundle/config
~/.dotfiles/bin/echodo ln -sf ~/.dotfiles/mycnf ~/.my.cnf
~/.dotfiles/bin/echodo ln -sf ~/.ruby-version ~/.ruby-version
~/.dotfiles/bin/echodo mkdir -p ~/.dotfiles/locals
~/.dotfiles/bin/echodo touch ~/.dotfiles/locals/secrets
echodo ln -sf ~/.dotfiles/bash_profile ~/.bash_profile
echodo ln -sf ~/.dotfiles/bashrc ~/.bashrc
echodo ln -sf ~/.dotfiles/Brewfile ~/Brewfile
echodo ln -sf ~/.dotfiles/gemrc ~/.gemrc
echodo ln -sf ~/.dotfiles/gitconfig ~/.gitconfig
echodo ln -sf ~/.dotfiles/gitignore ~/.gitignore
echodo ln -sf ~/.dotfiles/gemrc ~/.gemrc
echodo ln -sf ~/.dotfiles/irbrc ~/.irbrc
echodo ln -sf ~/.dotfiles/finicky.js ~/.finicky.js
echodo ln -sf ~/.dotfiles/vimrc ~/.vimrc
echodo mkdir -p ~/.ssh
echodo ln -sf ~/.dotfiles/ssh_config ~/.ssh/config
echodo mkdir -p ~/.bundle
echodo ln -sf ~/.dotfiles/bundle_config ~/.bundle/config
echodo ln -sf ~/.dotfiles/mycnf ~/.my.cnf
echodo ln -sf ~/.ruby-version ~/.ruby-version
echodo mkdir -p ~/.dotfiles/locals
echodo touch ~/.dotfiles/locals/secrets


if [[ -z "$CI" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion spec/git_rubocop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
AllCops:
NewCops: enable
YML
run('bundle install --prefer-local', wait: 10)
run('bundle install --prefer-local', wait: 60)
git('init')
git_add('.')
git_commit('--no-verify -m "Initial commit"')
Expand Down

0 comments on commit 0ff2a0d

Please sign in to comment.