Project reorganzation
This commit is contained in:
parent
03b956a7bd
commit
77d6b1baf6
|
@ -8,10 +8,10 @@ set STDD=
|
||||||
set ANALYSIS=
|
set ANALYSIS=
|
||||||
set INIFILED=
|
set INIFILED=
|
||||||
|
|
||||||
for %%x in (*.d) do set CORE=!CORE! %%x
|
for %%x in (src\*.d) do set CORE=!CORE! %%x
|
||||||
|
for %%x in (src\analysis/*.d) do set ANALYSIS=!ANALYSIS! analysis/%%x
|
||||||
for %%x in (libdparse/src/std/*.d) do set STD=!STD! libdparse/src/std/%%x
|
for %%x in (libdparse/src/std/*.d) do set STD=!STD! libdparse/src/std/%%x
|
||||||
for %%x in (libdparse/src/std/d/*.d) do set STDD=!STDD! libdparse/src/std/d/%%x
|
for %%x in (libdparse/src/std/d/*.d) do set STDD=!STDD! libdparse/src/std/d/%%x
|
||||||
for %%x in (analysis/*.d) do set ANALYSIS=!ANALYSIS! analysis/%%x
|
|
||||||
for %%x in (inifiled/source/*.d) do set INIFILED=!INIFILED! inifiled/source/%%x
|
for %%x in (inifiled/source/*.d) do set INIFILED=!INIFILED! inifiled/source/%%x
|
||||||
|
|
||||||
@echo on
|
@echo on
|
||||||
|
|
24
makefile
24
makefile
|
@ -3,17 +3,17 @@
|
||||||
DMD = dmd
|
DMD = dmd
|
||||||
GDC = gdc
|
GDC = gdc
|
||||||
LDC = ldc
|
LDC = ldc
|
||||||
SRC = main.d\
|
SRC = src/main.d\
|
||||||
stats.d\
|
src/stats.d\
|
||||||
imports.d\
|
src/imports.d\
|
||||||
highlighter.d\
|
src/highlighter.d\
|
||||||
ctags.d\
|
src/ctags.d\
|
||||||
astprinter.d\
|
src/astprinter.d\
|
||||||
outliner.d\
|
src/outliner.d\
|
||||||
symbol_finder.d\
|
src/symbol_finder.d\
|
||||||
|
src/analysis/*.d\
|
||||||
libdparse/src/std/*.d\
|
libdparse/src/std/*.d\
|
||||||
libdparse/src/std/d/*.d\
|
libdparse/src/std/d/*.d\
|
||||||
analysis/*.d\
|
|
||||||
inifiled/source/*.d
|
inifiled/source/*.d
|
||||||
INCLUDE_PATHS = -Ilibdparse/src
|
INCLUDE_PATHS = -Ilibdparse/src
|
||||||
VERSIONS =
|
VERSIONS =
|
||||||
|
@ -25,6 +25,7 @@ debug:
|
||||||
${DMD} -ofdsc ${VERSIONS} ${DEBUG_VERSIONS} ${INCLUDE_PATHS} ${SRC}
|
${DMD} -ofdsc ${VERSIONS} ${DEBUG_VERSIONS} ${INCLUDE_PATHS} ${SRC}
|
||||||
|
|
||||||
dmdbuild:
|
dmdbuild:
|
||||||
|
mkdir -p bin
|
||||||
${DMD} -O -release -inline -ofdscanner ${VERSIONS} ${INCLUDE_PATHS} ${SRC}
|
${DMD} -O -release -inline -ofdscanner ${VERSIONS} ${INCLUDE_PATHS} ${SRC}
|
||||||
|
|
||||||
gdcbuild:
|
gdcbuild:
|
||||||
|
@ -37,5 +38,8 @@ test:
|
||||||
@./test.sh
|
@./test.sh
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f dscanner *.o
|
rm -rf bin
|
||||||
|
|
||||||
|
report: all
|
||||||
|
dscanner --report src > dscanner-report.json
|
||||||
|
sonar-runner
|
||||||
|
|
Loading…
Reference in New Issue