built in windows

This commit is contained in:
Aaron Davis 2024-11-04 08:45:47 -08:00
parent 6b664e8ada
commit 3f3a9fe46c
2 changed files with 11 additions and 6 deletions

View file

@ -1,5 +1,13 @@
# Ensure that go is installed. Note that this is independent of whether or not a server is being # Check if we are on Windows
# built, since the build script itself uses go. ifeq ($(OS),Windows_NT)
SHELL := cmd.exe
GO := go.exe
else
SHELL := /bin/bash
GO := go
endif
# Ensure that go is installed.
ifeq ($(GO),) ifeq ($(GO),)
$(error "go is not available: see https://golang.org/doc/install") $(error "go is not available: see https://golang.org/doc/install")
endif endif
@ -36,9 +44,6 @@ HAS_WEBAPP ?= $(shell build/bin/manifest has_webapp)
# Determine if a /public folder is in use # Determine if a /public folder is in use
HAS_PUBLIC ?= $(wildcard public/.) HAS_PUBLIC ?= $(wildcard public/.)
# Determine if the mattermost-utilities repo is present
HAS_MM_UTILITIES ?= $(wildcard $(MM_UTILITIES_DIR)/.)
# Store the current path for later use # Store the current path for later use
PWD ?= $(shell pwd) PWD ?= $(shell pwd)

View file

@ -1,7 +1,7 @@
{ {
"id": "com.mattermost.plugin-gameStatusUpdate", "id": "com.mattermost.plugin-gameStatusUpdate",
"name": "game status update", "name": "game status update",
"version": "0.2.4", "version": "0.2.5",
"description": "this plugin will update statuses to show what game is being played - fuck discord", "description": "this plugin will update statuses to show what game is being played - fuck discord",
"homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate", "homepage_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate",
"support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues", "support_url": "https://gitlab.peanutsmediaserver.com/aaron/gameStatusUpdate/issues",