Skip to content

Commit

Permalink
Update README.md + CI
Browse files Browse the repository at this point in the history
- Added dogfooding to vnv example file
  • Loading branch information
ieedan committed Mar 22, 2024
1 parent ad37c0c commit 662cbf0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check .vnv
run: ./target/release/vnv.exe check
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vnv"
version = "0.1.0"
version = "0.0.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ ALLOWED_IPS=["172.16.100.10", "192.168.1.1"]

4. Download the VS Code extension for syntax highlighting [here](https://marketplace.visualstudio.com/items?itemName=AidanBleser.valid-env).

5. Create a file called `.vnv`.

6. Run `vnv check` to validate your environment variables

## Variable Types
Currently valid-env supports 4 different types of environment variables.

Expand Down
1 change: 1 addition & 0 deletions src/commands/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ pub fn default(options: Options) {
}
}

// If someone knows why this shows a warning please help
let mut error_str = String::new();

if cloak {
Expand Down

0 comments on commit 662cbf0

Please sign in to comment.