Build with Magefile #104341
@ -84,6 +84,18 @@ func WebappStatic() error {
|
||||
return packAddon(zipPath)
|
||||
}
|
||||
|
||||
// Use Yarn to install the webapp's NodeJS dependencies
|
||||
func WebappInstallDeps() error {
|
||||
env := map[string]string{
|
||||
"MSYS2_ARG_CONV_EXCL": "*",
|
||||
}
|
||||
return sh.RunWithV(env,
|
||||
"yarn",
|
||||
"--cwd", "web/app",
|
||||
"install",
|
||||
)
|
||||
}
|
||||
|
||||
func build(exePackage string) error {
|
||||
flags, err := buildFlags()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user