From 41036e6cf17aa9114f14a63fe421b8d3b1caa918 Mon Sep 17 00:00:00 2001 From: Vladimir Levin Date: Tue, 18 Jun 2024 21:02:12 +0900 Subject: [PATCH] build: Try explicit include --- .github/workflows/build-and-push-lsp.yaml | 2 -- main.go | 1 + pkg/pug/binding.go | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-lsp.yaml b/.github/workflows/build-and-push-lsp.yaml index b1a32cf..ffca53c 100644 --- a/.github/workflows/build-and-push-lsp.yaml +++ b/.github/workflows/build-and-push-lsp.yaml @@ -32,6 +32,4 @@ jobs: goarch: ${{ matrix.goarch }} binary_name: "pug-lsp" ldflags: "-s -w" - build_command: "make build" - diff --git a/main.go b/main.go index aba1ee4..5fb34eb 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "log" "os" + _ "github.com/opa-oz/pug-lsp/pkg/pug" "github.com/opa-oz/pug-lsp/pkg/server" ) diff --git a/pkg/pug/binding.go b/pkg/pug/binding.go index 2ce936d..593b2f4 100644 --- a/pkg/pug/binding.go +++ b/pkg/pug/binding.go @@ -1,4 +1,3 @@ -// go:build !plugin package pug // #cgo CFLAGS: -std=c11 -fPIC