mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-13 15:33:47 -05:00
fix(test): fix broken tests
This commit is contained in:
36
test/fixtures/test.md
vendored
36
test/fixtures/test.md
vendored
@@ -2,11 +2,11 @@
|
||||
|
||||
This repository contains everything needed to bootstrap and configure new Mac computer. Included here are:
|
||||
|
||||
- dotfiles
|
||||
- ~/bin/ scripts
|
||||
- Configuration files
|
||||
- Scripting templates and utilities
|
||||
- `install.sh`, a script to put everything where it needs to go
|
||||
- dotfiles
|
||||
- ~/bin/ scripts
|
||||
- Configuration files
|
||||
- Scripting templates and utilities
|
||||
- `install.sh`, a script to put everything where it needs to go
|
||||
|
||||
**Disclaimer:** _I am not a professional programmer and I bear no responsibility whatsoever if any of these scripts wipes your computer, destroys your data, crashes your car, or otherwise causes mayhem and destruction. USE AT YOUR OWN RISK._
|
||||
|
||||
@@ -24,8 +24,8 @@ The files are organized into three subdirectories.
|
||||
dotfiles
|
||||
├── bin/
|
||||
├── config/
|
||||
│ ├── bash/
|
||||
│ └── shell/
|
||||
│ ├── bash/
|
||||
│ └── shell/
|
||||
├── install.sh
|
||||
├── install-config.yaml
|
||||
├── lib/
|
||||
@@ -34,20 +34,20 @@ dotfiles
|
||||
└── scripting/
|
||||
```
|
||||
|
||||
- **bin** - Symlinked to `~/bin` and is added to your `$PATH`.
|
||||
- **config** - Contains the elements needed to configure your environment and specific apps.
|
||||
- config/**bash** - Files in this directory are _sourced_ by `.bash_profile`.
|
||||
- config/**shell** - Files here are symlinked to your local environment. Ahem, dotfiles.
|
||||
- **lib** - Contains the scripts and configuration for `install.sh`
|
||||
- lib/**bootstrap** - Scripts here are executed by `install.sh` first.
|
||||
- lib/**configure** - Scripts here are executed by `install.sh` after packages have been installed
|
||||
- **config-install.yaml** - This YAML file contains the list of symlinks to be created, as well as the packages to be installed.
|
||||
- **scripting** - This directory contains bash scripting utilities and templates which I re-use often.
|
||||
- **bin** - Symlinked to `~/bin` and is added to your `$PATH`.
|
||||
- **config** - Contains the elements needed to configure your environment and specific apps.
|
||||
- config/**bash** - Files in this directory are _sourced_ by `.bash_profile`.
|
||||
- config/**shell** - Files here are symlinked to your local environment. Ahem, dotfiles.
|
||||
- **lib** - Contains the scripts and configuration for `install.sh`
|
||||
- lib/**bootstrap** - Scripts here are executed by `install.sh` first.
|
||||
- lib/**configure** - Scripts here are executed by `install.sh` after packages have been installed
|
||||
- **config-install.yaml** - This YAML file contains the list of symlinks to be created, as well as the packages to be installed.
|
||||
- **scripting** - This directory contains bash scripting utilities and templates which I re-use often.
|
||||
|
||||
**IMPORTANT:** Unless you want to use my defaults, make sure you do the following:
|
||||
|
||||
- Edit `config-install.yaml` to reflect your preferred packages
|
||||
- Review the files in `config/` to configure your own aliases, preferences, etc.
|
||||
- Edit `config-install.yaml` to reflect your preferred packages
|
||||
- Review the files in `config/` to configure your own aliases, preferences, etc.
|
||||
|
||||
#### Private Files
|
||||
|
||||
|
||||
BIN
test/fixtures/test.md.enc
vendored
BIN
test/fixtures/test.md.enc
vendored
Binary file not shown.
43
test/fixtures/yaml1.yaml
vendored
43
test/fixtures/yaml1.yaml
vendored
@@ -1,29 +1,30 @@
|
||||
---
|
||||
# A list of tasty fruits
|
||||
fruits:
|
||||
- Apple
|
||||
- Orange
|
||||
- Strawberry
|
||||
- Mango
|
||||
- Apple
|
||||
- Orange
|
||||
- Strawberry
|
||||
- Mango
|
||||
|
||||
# An single record
|
||||
employee:
|
||||
name: Jimmy veloper
|
||||
job: Developer
|
||||
skill: Elite
|
||||
name: Jimmy veloper
|
||||
job: Developer
|
||||
skill: Elite
|
||||
|
||||
# Multiple records
|
||||
employees:
|
||||
martin:
|
||||
name: Martin D'vloper
|
||||
job: Developer
|
||||
skills:
|
||||
- python
|
||||
- perl
|
||||
- pascal
|
||||
tabitha:
|
||||
name: Tabitha Bitumen
|
||||
job: Developer
|
||||
skills:
|
||||
- lisp
|
||||
- fortran
|
||||
- erlang
|
||||
martin:
|
||||
name: Martin D'vloper
|
||||
job: Developer
|
||||
skills:
|
||||
- python
|
||||
- perl
|
||||
- pascal
|
||||
tabitha:
|
||||
name: Tabitha Bitumen
|
||||
job: Developer
|
||||
skills:
|
||||
- lisp
|
||||
- fortran
|
||||
- erlang
|
||||
|
||||
27
test/fixtures/yaml1.yaml.txt
vendored
27
test/fixtures/yaml1.yaml.txt
vendored
@@ -1,17 +1,18 @@
|
||||
|
||||
fruits+=("Apple")
|
||||
fruits+=("Orange")
|
||||
fruits+=("Strawberry")
|
||||
fruits+=("Mango")
|
||||
employee_name=("Jimmy veloper")
|
||||
employee_job=("Developer")
|
||||
employee_skill=("Elite")
|
||||
employees_martin_name=("Martin D'vloper")
|
||||
employees_martin_job=("Developer")
|
||||
employees_martin_skills+=("python")
|
||||
employees_martin_skills+=("perl")
|
||||
employees_martin_skills+=("pascal")
|
||||
employees_tabitha_name=("Tabitha Bitumen")
|
||||
employees_tabitha_job=("Developer")
|
||||
employees_tabitha_skills+=("lisp")
|
||||
employees_tabitha_skills+=("fortran")
|
||||
employees_tabitha_skills+=("erlang")
|
||||
employee__name=("Jimmy veloper")
|
||||
employee__job=("Developer")
|
||||
employee__skill=("Elite")
|
||||
employees__martin__name=("Martin D'vloper")
|
||||
employees__martin__job=("Developer")
|
||||
employees__martin__skills+=("python")
|
||||
employees__martin__skills+=("perl")
|
||||
employees__martin__skills+=("pascal")
|
||||
employees__tabitha__name=("Tabitha Bitumen")
|
||||
employees__tabitha__job=("Developer")
|
||||
employees__tabitha__skills+=("lisp")
|
||||
employees__tabitha__skills+=("fortran")
|
||||
employees__tabitha__skills+=("erlang")
|
||||
|
||||
Reference in New Issue
Block a user