Skip to content

Commit

Permalink
Actually copy superbol-free executable after build
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Sep 18, 2023
1 parent 3799001 commit 0e2356c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions Makefile.header
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# -*- Makefile -*-
PROJECT=superbol_vscode_platform
SRCDIR=src/vscode/superbol-vscode-platform
CP ?= cp -f

compile:
opam exec -- dune build
cp -f _build/default/src/vscode/vscode-package-json/main.exe vscode-package-json
all: superbol-free
superbol-free: build
$(CP) _build/default/src/lsp/superbol-free/main.exe superbol-free

compile: build
$(CP) _build/default/src/vscode/vscode-package-json/main.exe vscode-package-json
yarn esbuild _build/default/$(SRCDIR)/$(PROJECT).bc.js \
--bundle \
--external:vscode \
Expand All @@ -27,9 +32,13 @@ compile-release:
--sourcemap \
--sources-content=false

.PHONY: clean-execs
distclean: clean-execs
clean-execs:
rm -f superbol-free vscode-package-json

.PHONY: opam-cross

opam-cross:
drom dep --cross osx
drom dep --cross windows

0 comments on commit 0e2356c

Please sign in to comment.