Skip to content

Commit

Permalink
fix(lib/init): rename install_* fn templates to package_*
Browse files Browse the repository at this point in the history
  • Loading branch information
comfysage committed Feb 8, 2024
1 parent 7b8c70d commit dea3dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/init.fl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ _install() {
package
if ! [[ -z "$template" ]]; then
for tmpl in ${template[@]}; do
has_fn install_$tmpl && install_$tmpl
has_fn package_$tmpl && package_$tmpl
done
fi
}
Expand Down
2 changes: 1 addition & 1 deletion lib/templates/cargo.fl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build_cargo() {
cargo build -r
}

install_cargo() {
package_cargo() {
for file in ${bin[@]}; do
store "target/release/$file" "bin/$file"
done
Expand Down

0 comments on commit dea3dcc

Please sign in to comment.