#!/bin/bash # Script to clone from github.com/operate-first/ and setup the environment # (C) 2021 Karsten Wade . # # This barebones script is not very clever, because it is just trying to # clone a repo and set it up according to Operate First community practices: # https://URL_FOR_COMMUNITY_PRACTICES_NEEDED # # Use: # ./o1-tools/bin/o1-clone repo-name # # For example: # ./o1-tools/bin/o1-clone community-handbook # # # Let's presume you want something from the /operate-first/ org and take in # the first bash variable as the repo name: git clone git@github.com:operate-first/$1.git # Enter the project to prepare the environment cd $1 # Install pre-commit hooks and whatever else it does pre-commit install # # That's it for now, what other environment activities could we do here?