Make module cache writeable
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: micro
|
name: micro
|
||||||
description: A modern and intuitive terminal-based text editor
|
description: A modern and intuitive terminal-based text editor
|
||||||
version: 2.0.14
|
version: 2.0.14
|
||||||
revision: 3
|
revision: 4
|
||||||
url: https://micro-editor.github.io/
|
url: https://micro-editor.github.io/
|
||||||
license: MIT
|
license: MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ FILENAME="${DOWNLOAD##*/}"
|
|||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
wget "$DOWNLOAD"
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||||
|
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
GOFLAGS="-modcacherw" go mod download
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user