forked from goffee/goffee
fix uncompress to forgego
This commit is contained in:
parent
48584d061c
commit
c4a9bd8a01
2 changed files with 4 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
### What's Goffee?
|
||||
`Goffee` is the`cli` tool of the framework, it helps you create new projects and perform other tasks.
|
||||
`Goffee` is the`cli` tool of the Goffee framework, it helps you create new projects and perform other tasks.
|
||||
|
||||
|
||||
### Install
|
||||
|
|
@ -25,5 +25,4 @@ goffee new myapp git.smarteching.com/goffee/myapp
|
|||
To start the app in the `live reloading` mode for development, first cd into the project directory, then run the following command:
|
||||
```bash
|
||||
goffee run:dev
|
||||
```
|
||||
Goffe is a tool building over a fork of the awesome project of Harran Ali <harran.m@gmail.com>
|
||||
```
|
||||
|
|
@ -79,7 +79,7 @@ var newCmd = &cobra.Command{
|
|||
os.Exit(0)
|
||||
}
|
||||
|
||||
// Download the config from github
|
||||
// Download the config from git.smarteching.com
|
||||
fmt.Println("Preparing ...")
|
||||
|
||||
var config Config
|
||||
|
|
@ -109,7 +109,7 @@ var newCmd = &cobra.Command{
|
|||
cn.Unpack(filePath, pwd)
|
||||
|
||||
// Rename to the user's given project name
|
||||
os.Rename("./cup-"+removeFirstCHar(repoMeta.TagName), "./"+projectName) //first char is `v`
|
||||
os.Rename("./cup", "./"+projectName) //first char is `v`
|
||||
// Remove the downloaded cup archive
|
||||
os.Remove(filePath)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue