Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pefish committed Mar 14, 2024
1 parent f30bff9 commit 6aba86a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/templates/ts_lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ set -euxo pipefail
git clone %s --single-branch -v -b main --depth 1 %s
cd %s
rm -rf .git
cat package.json | sed "s/template_name/%s/g" > temp.json && rm -rf package.json && mv temp.json package.json
npm install
PACKAGE_NAME="%s" APP_NAME="%s" USERNAME="%s" ./init.sh
rm -rf ./init.sh
`,
tlt.Url(),
params.AppName,
params.AppName,
params.PackageName,
params.AppName,
params.Username,
)
cmd := exec.Command("bash", "-c", script)
cmd.Stdout = os.Stdout
Expand Down

0 comments on commit 6aba86a

Please sign in to comment.