From 0adb541d4010369ed2d60fccd94f273f5ed92ad3 Mon Sep 17 00:00:00 2001
From: dwb420 <56569652+dwb420@users.noreply.github.com>
Date: Fri, 1 Nov 2019 22:44:15 -0500
Subject: [PATCH] Add files via upload
---
 .classpath |  5 ++--
 .project   |  2 +-
 README.md  | 10 +++----
 build.xml  | 77 ++++++++++++++++++++++++++++++++++++------------------
 cli.gradle | 47 +++++++++++++++++++++++++++++++++
 5 files changed, 107 insertions(+), 34 deletions(-)
 create mode 100644 cli.gradle
diff --git a/.classpath b/.classpath
index 0914d5f..92cedde 100644
--- a/.classpath
+++ b/.classpath
@@ -1,13 +1,12 @@
 
 
 	
+	
 	
 	
 	
+	
 	
 	
-	
-	
-	
 	
 
diff --git a/.project b/.project
index 93bf9c1..39fbf4f 100644
--- a/.project
+++ b/.project
@@ -1,6 +1,6 @@
 
 
-	ceylon-bootstrap
+	ceylon-cli
 	
 	
 	
diff --git a/README.md b/README.md
index c418b75..7781721 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-Ceylon bootstrap
-================
+Ceylon cli
+==========
 
 License
 -------
@@ -13,8 +13,8 @@ agree to license your contribution under the license mentioned above.
 Directory structure
 -------------------
 
-* `src`       - the Ceylon bootstrap module sources
-* `test-src`  - the Ceylon bootstrap module unit tests
+* `src`       - the Ceylon cli module sources
+* `test-src`  - the Ceylon cli module unit tests
 
 Build the module
 ----------------
@@ -32,5 +32,5 @@ And to run the tests type
 
 Once built, the module lives in this jar:
 
-    ~/.ceylon/repo/ceylon/bootstrap/0.2/ceylon.bootstrap-0.2.jar
+    ~/.ceylon/repo/org/eclipse/ceylon/cli/0.2/org.eclipse.ceylon.cli-0.2.jar
 
diff --git a/build.xml b/build.xml
index cf35914..e32b41c 100644
--- a/build.xml
+++ b/build.xml
@@ -1,4 +1,4 @@
-
+
 
     
     
@@ -10,9 +10,9 @@
     
 
     
-    
-    
-    
+    
+    
+    
 
     
     
@@ -36,7 +36,7 @@
     
 
     
-    
+    
         
         
     
 
-    
-        
+    
+        
+        
         
             
                
-        
+        
             
             
             
-                
-                
-                
+                
+                
             
         
         
-            
+            
         
     
 
-    
+    
+        
+        
+            
+            
+            
+                
+            
+        
     
 
     
@@ -109,15 +117,15 @@
     
 
     
-    
-        
+    
+        
     
 
     
-        
-        
-        
-        
+        
+        
+        
+        
     
 
     
@@ -183,18 +191,18 @@
     
     
         
-            
+            
         
     
 
     
-        
+        
             
                 
             
         
         
-            
+            
         
     
 
@@ -207,10 +215,12 @@
         
             
         
+        
+            
+        
     
 
     
-        
     
 
     
         
-        No tests (yet)
+        
+            
+            
+                
+            
+
+            
+            
+        
+        
+            
+                
+            
+            
+        
+        
     
 
diff --git a/cli.gradle b/cli.gradle
new file mode 100644
index 0000000..cff2c3d
--- /dev/null
+++ b/cli.gradle
@@ -0,0 +1,47 @@
+import org.apache.tools.ant.filters.ReplaceTokens
+
+ext {
+    ceylonModuleName = 'cli'
+}
+
+apply from : "${rootProject.projectDir}/gradle/java-for-modules.gradle"
+
+dependencies {
+    compile project(':common')
+    compile project(':model')
+    compile project(':cmr')
+}
+
+task startScripts( type : Copy ) {
+    group 'Application'
+    description 'Creates OS specific scripts to run Ceylon from the command-line'
+
+    from 'bin'
+    into "${buildDir}/bin"
+    filter ReplaceTokens, tokens : [ 'ceylon-version' : version ]
+}
+
+task publishScripts( type : Copy ) {
+    group 'Distribution'
+    description 'Copies scripts to distribution area'
+    into repoBinDir
+    from startScripts, {
+        exclude 'ceylon'
+    }
+    from startScripts, {
+        include 'ceylon'
+        fileMode 0755
+    }
+}
+
+assemble {
+    dependsOn startScripts
+}
+
+publishInternal {
+    dependsOn publishScripts
+}
+
+['common','cmr','model'].each {
+    publishInternal.dependsOn ":${it}:publishInternal"
+}