forked from ju-bar/drprobe_clt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update-src.bat
47 lines (47 loc) · 1.74 KB
/
update-src.bat
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
@echo off
echo ---------------------------------------------------
echo Dr. Probe command-line tool - Source file update.
echo Warning: This is a service tool for developer only.
echo ---------------------------------------------------
SET LPATH=F:\VirtualShare\drprobe_clt\
SET FPATH=F:\Data\F90\drprobe_clt\
echo Updating source files in [%LPATH%]
mkdir %LPATH%
echo from base directory [%FPATH%].
copy "%FPATH%*.txt" "%LPATH%" /Y
copy "%FPATH%*.md" "%LPATH%" /Y
copy "%FPATH%*.sh" "%LPATH%" /Y
copy "%FPATH%LICENSE" "%LPATH%" /Y
echo - subfolder [common] ...
mkdir %LPATH%common
copy "%FPATH%common\*.txt" "%LPATH%common\" /Y
copy "%FPATH%common\*.f" "%LPATH%common\" /Y
copy "%FPATH%common\*.in" "%LPATH%common\" /Y
copy "%FPATH%common\*.f90" "%LPATH%common\" /Y
echo - subfolder [celslc] ...
mkdir %LPATH%celslc
copy "%FPATH%celslc\*.txt" "%LPATH%celslc\" /Y
copy "%FPATH%celslc\*.f" "%LPATH%celslc\" /Y
copy "%FPATH%celslc\*.f90" "%LPATH%celslc\" /Y
copy "%FPATH%celslc\makefile" "%LPATH%celslc\" /Y
echo - subfolder [msa] ...
mkdir %LPATH%msa
copy "%FPATH%msa\*.txt" "%LPATH%msa\" /Y
copy "%FPATH%msa\*.f" "%LPATH%msa\" /Y
copy "%FPATH%msa\*.f90" "%LPATH%msa\" /Y
copy "%FPATH%msa\makefile" "%LPATH%msa\" /Y
echo - subfolder [wavimg] ...
mkdir %LPATH%wavimg
copy "%FPATH%wavimg\*.txt" "%LPATH%wavimg\" /Y
copy "%FPATH%wavimg\*.f" "%LPATH%wavimg\" /Y
copy "%FPATH%wavimg\*.f90" "%LPATH%wavimg\" /Y
copy "%FPATH%wavimg\makefile" "%LPATH%wavimg\" /Y
echo - subfolder [test] ...
mkdir %LPATH%test
copy "%FPATH%test\README" "%LPATH%test\" /Y
copy "%FPATH%test\*.cel" "%LPATH%test\" /Y
copy "%FPATH%test\*.cif" "%LPATH%test\" /Y
copy "%FPATH%test\*.prm" "%LPATH%test\" /Y
copy "%FPATH%test\*.mtf" "%LPATH%test\" /Y
echo ---------------------------------------------------
echo Done.