Skip to content

Commit

Permalink
Update to 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdh committed Oct 23, 2014
1 parent 7471794 commit d59fbe3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@
emf-xsd-sdk-*.jar
emf-jars/*.jar
target/
emf-jars/*
19 changes: 5 additions & 14 deletions do-release.zsh
Expand Up @@ -8,30 +8,21 @@ done
cd ..
rm -rf emf-jars/META-INF/

echo "Creating an Uberjar"
lein uberjar
echo "Creating an JAR"
lein jar

echo "Creating a pom.xml"
lein pom

file=`ls target/emf-xsd-sdk-*-standalone.jar`
file=target/emf-xsd-sdk-2.10.1.jar

if [[ ! -f ${file} ]]; then
echo "Error: ${file} doesn't exist!"
exit 1
fi

echo "Moving ${file} to ${file/-standalone/}."
mv ${file} ${file/-standalone/}
file=${file/-standalone/}

cmd="scp pom.xml ${file} clojars@clojars.org:"

echo "Are you really sure you want to upload ${file} to clojars.org?"
echo " Command: ${cmd}"
echo "Hit Ctrl-C to abort, or RETURN to upload."
read

eval ${cmd}
echo "Deploying to Clojars"
lein deploy clojars

echo "Fini."
Empty file removed emf-jars/PUT_EMF_SDK_JARS_HERE
Empty file.
8 changes: 6 additions & 2 deletions project.clj
@@ -1,4 +1,4 @@
(defproject emf-xsd-sdk "2.9.1"
(defproject emf-xsd-sdk "2.10.1"
:description "The Eclipse Modeling Framework SDK bundle.
For EMF, see http://www.eclipse.org/modeling/emf/.
Expand All @@ -8,7 +8,11 @@
:url "https://github.com/tsdh/emf-xsd-sdk"
;; Where are the EMF class files?
:filespecs [{:type :path :path "emf-jars"}]
:jar-exclusions [#"(\.git/|PUT_EMF_SDK_JARS_HERE)"]
:jar-exclusions [#"(PUT_EMF_SDK_JARS_HERE|toc.xml|readme.html)"
#"about\.(html|ini|properties|mappings)"
#"plugin\.(xml|properties)"
#".*\.(sf|dsa|rsa|SF|RSA|DSA|jar|options|api_description|java|gif|png)$"
#"^(\.git/|examples/|tutorials/|cheatsheets/|references/|index/|schema/|rose/|images/|icons/|css/|templates/|cache/|model/|about_files/)"]
:uberjar-exclusions [#"(PUT_EMF_SDK_JARS_HERE|toc.xml|readme.html)"
#"about\.(html|ini|properties|mappings)"
#"plugin\.(xml|properties)"
Expand Down

0 comments on commit d59fbe3

Please sign in to comment.