Compare commits

...

5 Commits

Author SHA1 Message Date
4147e7c9de Switch to alpine for volumes 2021-12-31 18:14:13 -05:00
8a7a8f6b9c Add working directory 2021-12-31 17:59:29 -05:00
2b76702029 forgot formating directive 2021-12-31 17:45:51 -05:00
979519561d go.sum file 2021-12-31 17:42:54 -05:00
b7b8ec7fb3 Update go-roblox to latest 2021-12-31 17:42:32 -05:00
4 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,5 @@
FROM scratch
FROM alpine:3
COPY ca-certificates.crt /etc/ssl/certs/
COPY rbxcompiler /
WORKDIR /stage
ENTRYPOINT ["/rbxcompiler"]

View File

@ -52,7 +52,7 @@ func build() {
fmt.Printf("Logged in as %s...\n", rbx.Username)
fmt.Printf("Uploading file to roblox...\n")
resp, err := rbx.CreateAsset(&roblox.AssetUploadOptions{
id, err := rbx.CreateAsset(&roblox.AssetUploadOptions{
AssetID: *assetId,
Group: *groupId,
}, buffer)
@ -62,7 +62,7 @@ func build() {
return
}
fmt.Printf("Uploaded ID %d VERSION %d\n", resp.AssetID, resp.AssetVersionID)
fmt.Printf("Uploaded ID = %d\n", id)
}
fmt.Println("Complete!")

2
go.mod
View File

@ -3,7 +3,7 @@ module git.itzana.me/itzaname/rbxcompiler
go 1.15
require (
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92
git.itzana.me/itzaname/go-roblox v1.0.1
git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d
github.com/google/uuid v1.1.2
)

4
go.sum
View File

@ -1,5 +1,5 @@
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92 h1:O0we09WIpFm18LSODLVfYvmll6UamygaftHiuHrHMkQ=
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92/go.mod h1:x+fEejcurT8y/Vq+/ErqDHZm04d9lmYDGxjGpcPvJW4=
git.itzana.me/itzaname/go-roblox v1.0.1 h1:kWcuw/Kbds9ppbqs8sAI403AyScd7ntt0N7qZiOtEY8=
git.itzana.me/itzaname/go-roblox v1.0.1/go.mod h1:x+fEejcurT8y/Vq+/ErqDHZm04d9lmYDGxjGpcPvJW4=
git.itzana.me/itzaname/rbxapi v0.1.0 h1:tmIGSKSgy2dEuKKar8/uyUgMvcBxq7VxXL5U8+SPJes=
git.itzana.me/itzaname/rbxapi v0.1.0/go.mod h1:xLmFDqsHxDbA841GccVxiK8IIpgciymGMgZB3dzeXsM=
git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d h1:K9qkm1OlnTpKR7jBRYu1lI/Wr7zbTCOYHrWkP1GhnzQ=