perf: use -j to build on multiple cores (#8)

* perf: use -j to build on multiple cores

* chore: update version, 0.0.4
This commit is contained in:
Marc 2023-11-05 11:37:01 -05:00 committed by GitHub
parent 5006ff3076
commit 5dea83f9a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ func buildFromSource(pkgMeta PackageMetadata, verbose bool) (PackageMetadata, er
}
buildPrint("Building")
_, buildErr := RunCommand([]string{"make", "altinstall"}, unzippedRoot, !verbose)
_, buildErr := RunCommand([]string{"make", "altinstall", "-j4"}, unzippedRoot, !verbose)
if buildErr != nil {
return pkgMeta, buildErr

2
v.go
View file

@ -5,7 +5,7 @@ import (
)
const (
Version = "0.0.3"
Version = "0.0.4"
Author = "Marc Cataford <hello@karnov.club>"
Homepage = "https://github.com/mcataford/v"
)