From 6701f2a3a4023a3ee5d2a1e98e2b40398aff0131 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 1 Sep 2018 20:30:34 +0200 Subject: [PATCH] fix lib and gitignore --- .gitignore | 2 +- docs/docs.iml | 9 +++++++++ il65/il65.iml | 5 ++--- {lib => il65/lib}/apiguardian-api-1.0.0.jar | Bin {lib => il65/lib}/hamcrest-core-1.2.1.jar | Bin {lib => il65/lib}/hamcrest-library-1.2.1.jar | Bin {lib => il65/lib}/junit-jupiter-api-5.2.0.jar | Bin {lib => il65/lib}/junit-platform-commons-1.2.0.jar | Bin {lib => il65/lib}/opentest4j-1.1.0.jar | Bin il65/src/il65/Main.kt | 5 +++++ python/python.iml | 9 +++++++++ 11 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 docs/docs.iml rename {lib => il65/lib}/apiguardian-api-1.0.0.jar (100%) rename {lib => il65/lib}/hamcrest-core-1.2.1.jar (100%) rename {lib => il65/lib}/hamcrest-library-1.2.1.jar (100%) rename {lib => il65/lib}/junit-jupiter-api-5.2.0.jar (100%) rename {lib => il65/lib}/junit-platform-commons-1.2.0.jar (100%) rename {lib => il65/lib}/opentest4j-1.1.0.jar (100%) create mode 100644 python/python.iml diff --git a/.gitignore b/.gitignore index 7e8ba8c67..58a6490cb 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,4 @@ parsetab.py !/il65/lib/* .pytest_cache/ docs/build -il65/out +out/ \ No newline at end of file diff --git a/docs/docs.iml b/docs/docs.iml new file mode 100644 index 000000000..ad3c0a365 --- /dev/null +++ b/docs/docs.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/il65/il65.iml b/il65/il65.iml index e759535da..200b1a8d0 100644 --- a/il65/il65.iml +++ b/il65/il65.iml @@ -4,13 +4,12 @@ - + - - + \ No newline at end of file diff --git a/lib/apiguardian-api-1.0.0.jar b/il65/lib/apiguardian-api-1.0.0.jar similarity index 100% rename from lib/apiguardian-api-1.0.0.jar rename to il65/lib/apiguardian-api-1.0.0.jar diff --git a/lib/hamcrest-core-1.2.1.jar b/il65/lib/hamcrest-core-1.2.1.jar similarity index 100% rename from lib/hamcrest-core-1.2.1.jar rename to il65/lib/hamcrest-core-1.2.1.jar diff --git a/lib/hamcrest-library-1.2.1.jar b/il65/lib/hamcrest-library-1.2.1.jar similarity index 100% rename from lib/hamcrest-library-1.2.1.jar rename to il65/lib/hamcrest-library-1.2.1.jar diff --git a/lib/junit-jupiter-api-5.2.0.jar b/il65/lib/junit-jupiter-api-5.2.0.jar similarity index 100% rename from lib/junit-jupiter-api-5.2.0.jar rename to il65/lib/junit-jupiter-api-5.2.0.jar diff --git a/lib/junit-platform-commons-1.2.0.jar b/il65/lib/junit-platform-commons-1.2.0.jar similarity index 100% rename from lib/junit-platform-commons-1.2.0.jar rename to il65/lib/junit-platform-commons-1.2.0.jar diff --git a/lib/opentest4j-1.1.0.jar b/il65/lib/opentest4j-1.1.0.jar similarity index 100% rename from lib/opentest4j-1.1.0.jar rename to il65/lib/opentest4j-1.1.0.jar diff --git a/il65/src/il65/Main.kt b/il65/src/il65/Main.kt index 133aa3467..ef2e8230f 100644 --- a/il65/src/il65/Main.kt +++ b/il65/src/il65/Main.kt @@ -16,6 +16,11 @@ fun main(args: Array) { // import main module and process additional imports + if(args.size != 1) { + System.err.println("module filename argument missing") + exitProcess(1) + } + val filepath = Paths.get(args[0]).normalize() val moduleAst = importModule(filepath) moduleAst.linkParents() diff --git a/python/python.iml b/python/python.iml new file mode 100644 index 000000000..9770eaa13 --- /dev/null +++ b/python/python.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file