Skip to content

Commit

Permalink
chore(ease): remove crate name as file conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
dream-dasher committed Jan 5, 2025
1 parent 77621c3 commit 2f81d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .support/_template.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# | - child-shell inheritable: `set -a; source .env; set +a`


# example env key for {{replace_me: project_name}}
EXAMPLE_LOCAL_ENV_KEY_MESSAGE='This value is stored in a local .env of {{replace_me: project_name}}'
# example env key
EXAMPLE_LOCAL_ENV_KEY_MESSAGE='This value is stored in a local .env file'
EXAMPLE_LOCAL_ENV_KEY_WINK=false
EXAMPLE_LOCAL_ENV_KEY_REPEAT=12
EXAMPLE_LOCAL_ENV_KEY_NEWLINE='\n'
Expand Down
2 changes: 0 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Justfile (Convenience Command Runner)

# rust vars
J_CARGO_CRATE_NAME:=''
J_CARGO_NO_WARN := '-Awarnings'
J_RUST_LOG:= 'debug'
J_RUST_BACKTRACE:= '1'
Expand Down Expand Up @@ -139,7 +138,6 @@ _gen-env:
echo '`{{BRN}}.env{{NC}}` exists, {{PRP}}skipping creation{{NC}}...' && exit 0; \
else \
cp -n .support/_template.env .env; \
sd '\{\{replace_me:.*\}\}' '{{J_CARGO_CRATE_NAME}}' .env; \
echo "{{BLU}}.env{{NC}} created from template with {{GRN}}example{{NC}} values."; \
fi

Expand Down

0 comments on commit 2f81d90

Please sign in to comment.