forked from esmuellert/codediff.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (33 loc) · 980 Bytes
/
Makefile
File metadata and controls
47 lines (33 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Auto-generated by CMake - DO NOT EDIT
# Makefile wrapper for developers (uses CMake underneath)
# Users: Use build.sh instead (no CMake required)
.PHONY: all build test test-c test-lua lint format clean help bump-patch bump-minor bump-major bump-prerelease
all: build
build:
@cmake -B build -S .
@cmake --build build
@echo "✓ Build successful"
test: test-c test-lua
test-c: build
@cd build && ctest --output-on-failure
test-lua:
@./tests/run_plenary_tests.sh
lint:
@stylua --check lua
format:
@stylua lua
@echo "✓ Formatted lua/"
clean:
@rm -rf build
@rm -f libvscode_diff.so libvscode_diff.dylib
bump-patch:
@node scripts/bump_version.mjs patch
bump-minor:
@node scripts/bump_version.mjs minor
bump-major:
@node scripts/bump_version.mjs major
bump-prerelease:
@node scripts/bump_version.mjs prerelease
help:
@echo "Targets: build, test, test-c, test-lua, lint, clean, help"
@echo "Version: bump-patch, bump-minor, bump-major, bump-prerelease"