-
Notifications
You must be signed in to change notification settings - Fork 172
/
Makefile
44 lines (31 loc) · 990 Bytes
/
Makefile
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
MONO_DEBUG_RELEASE = "./bin/Release/mono-debug.exe"
MONO_DEBUG_DEBUG = "./bin/Debug/mono-debug.exe"
all: vsix
@echo "vsix created"
vsix: build
./node_modules/.bin/vsce package
publish:
./node_modules/.bin/vsce publish
build: $MONO_DEBUG_RELEASE
node_modules/.bin/tsc -p ./src/typescript
@echo "build finished"
debug: $MONO_DEBUG_DEBUG
node_modules/.bin/tsc -p ./src/typescript
@echo "build finished"
$MONO_DEBUG_RELEASE:
msbuild /v:minimal /restore /p:Configuration=Release src/csharp/mono-debug.csproj
$MONO_DEBUG_DEBUG:
msbuild /v:minimal /restore /p:Configuration=Debug src/csharp/mono-debug.csproj
tests:
dotnet build /nologo testdata/simple
dotnet build /nologo testdata/output
dotnet build /nologo testdata/simple_break
dotnet build /nologo testdata/fsharp
run-tests: tests
node_modules/.bin/mocha --timeout 10000 -u tdd ./out/tests
lint:
node_modules/.bin/eslint . --ext .ts,.tsx
watch:
node_modules/.bin/tsc -w -p ./src/typescript
clean:
git clean -xfd