This repository has been archived by the owner on Oct 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
45 lines (36 loc) · 1.22 KB
/
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
45
include Makefile.base
.PHONY: install
install:
stack build idream --test --no-run-tests --copy-bins
.PHONY: smoke_create
smoke_create:
rm -rf smoke_project
idream new smoke_project
idream --project-dir smoke_project add smoke_lib --package-type library
idream --project-dir smoke_project add smoke_test --package-type test
idream --project-dir smoke_project add smoke_exe --package-type executable
.PHONY: smoke_test_only
smoke_test_only:
idream --project-dir smoke_project fetch
idream --project-dir smoke_project compile
idream --project-dir smoke_project test
.PHONY: smoke_test
smoke_test: install smoke_create smoke_test_only
# TODO(ejconlon) This requires recursive fetching
# .PHONY: git_test
# git_test:
# idream --project-dir testdata/gitproj clean
# idream --project-dir testdata/gitproj fetch
# idream --project-dir testdata/gitproj compile
# idream --project-dir testdata/gitproj test
.PHONY: integration_build
integration_build:
bash ./script/build_images.sh
.PHONY: integration_repl
integration_repl:
bash ./script/integration_repl.sh
# .PHONY: integration_test_only
# integration_test_only:
# bash ./script/integration_test.sh
# .PHONY: integration_test
# integration_test: integration_build integration_test_only