llgo cppkg: remove unused import
This commit is contained in:
@@ -13,12 +13,6 @@
|
|||||||
* See the License for the specific language governing permissions and limitations under the License.
|
* See the License for the specific language governing permissions and limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import (
|
|
||||||
"runtime"
|
|
||||||
|
|
||||||
self "github.com/goplus/llgo/xtool/cppkg"
|
|
||||||
)
|
|
||||||
|
|
||||||
short "Manage C/C++ packages"
|
short "Manage C/C++ packages"
|
||||||
|
|
||||||
run => {
|
run => {
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"runtime"
|
|
||||||
|
|
||||||
self "github.com/goplus/llgo/xtool/cppkg"
|
self "github.com/goplus/llgo/xtool/cppkg"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -123,40 +123,40 @@ func (this *cmptest) Main(_gop_arg0 string) {
|
|||||||
func (this *cmptest) Classfname() string {
|
func (this *cmptest) Classfname() string {
|
||||||
return "cmptest"
|
return "cmptest"
|
||||||
}
|
}
|
||||||
//line cmd/llgo/cppkg_cmd.gox:22
|
//line cmd/llgo/cppkg_cmd.gox:16
|
||||||
func (this *cppkg) Main(_gop_arg0 string) {
|
func (this *cppkg) Main(_gop_arg0 string) {
|
||||||
this.Command.Main(_gop_arg0)
|
this.Command.Main(_gop_arg0)
|
||||||
//line cmd/llgo/cppkg_cmd.gox:22:1
|
//line cmd/llgo/cppkg_cmd.gox:16:1
|
||||||
this.Short("Manage C/C++ packages")
|
this.Short("Manage C/C++ packages")
|
||||||
//line cmd/llgo/cppkg_cmd.gox:24:1
|
//line cmd/llgo/cppkg_cmd.gox:18:1
|
||||||
this.Run__0(func() {
|
this.Run__0(func() {
|
||||||
//line cmd/llgo/cppkg_cmd.gox:25:1
|
//line cmd/llgo/cppkg_cmd.gox:19:1
|
||||||
this.Help()
|
this.Help()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
func (this *cppkg) Classfname() string {
|
func (this *cppkg) Classfname() string {
|
||||||
return "cppkg"
|
return "cppkg"
|
||||||
}
|
}
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:22
|
//line cmd/llgo/cppkg_install_cmd.gox:20
|
||||||
func (this *cppkg_install) Main(_gop_arg0 string) {
|
func (this *cppkg_install) Main(_gop_arg0 string) {
|
||||||
this.Command.Main(_gop_arg0)
|
this.Command.Main(_gop_arg0)
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:22:1
|
//line cmd/llgo/cppkg_install_cmd.gox:20:1
|
||||||
this.Short("Install a C/C++ package from github.com/goplus/cppkg")
|
this.Short("Install a C/C++ package from github.com/goplus/cppkg")
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:24:1
|
//line cmd/llgo/cppkg_install_cmd.gox:22:1
|
||||||
this.Long(`Installs a C/C++ package with the given name and version. For example:
|
this.Long(`Installs a C/C++ package with the given name and version. For example:
|
||||||
|
|
||||||
llgo cppkg install davegamble/cjson@1.7.18
|
llgo cppkg install davegamble/cjson@1.7.18
|
||||||
`)
|
`)
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:29:1
|
//line cmd/llgo/cppkg_install_cmd.gox:27:1
|
||||||
this.Run__1(func(args []string) {
|
this.Run__1(func(args []string) {
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:30:1
|
//line cmd/llgo/cppkg_install_cmd.gox:28:1
|
||||||
if len(args) < 1 {
|
if len(args) < 1 {
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:31:1
|
//line cmd/llgo/cppkg_install_cmd.gox:29:1
|
||||||
this.Help()
|
this.Help()
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:32:1
|
//line cmd/llgo/cppkg_install_cmd.gox:30:1
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
//line cmd/llgo/cppkg_install_cmd.gox:35:1
|
//line cmd/llgo/cppkg_install_cmd.gox:33:1
|
||||||
cppkg1.Install(args[0], cppkg1.DefaultFlags)
|
cppkg1.Install(args[0], cppkg1.DefaultFlags)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user