| 123456789101112131415161718192021222324 |
- import os
- import file
- def clean_sources(sources_path):
- print("Clean the sources")
- # remove the source code of test module and macros
- for file_path in ("modules\\test_methods.bas",
- "macros\\test_export.bas",
- "macros\\test_import.bas"):
- os.remove( file.fjoin(sources_path, file_path) )
- def run_export_on(accdb_path):
-
- print("Export the sources from " + accdb_path)
- os.system( accdb_path + " /X test_export" )
-
- clean_sources( file.fjoin( file.fdir(accdb_path), "source\\" ) )
-
-
-
|