Permalink
Browse files

rename script file and make it automatically run appassembler if it h…

…as not been run since the last mvn clean
  • Loading branch information...
1 parent cf2127a commit 7d6f5fa352f1f7acc76ed79260e4f15a0862faae @ansell ansell committed May 20, 2013
Showing with 14 additions and 10 deletions.
  1. +14 −0 jsonldplayground
  2. +0 −10 rdf2jsonld
View
14 jsonldplayground
@@ -0,0 +1,14 @@
+#!/bin/bash
+# This script runs the JSONLDPlayground code.
+# Before running this script for the first time
+# you may need to run:
+# chmod +x jsonldplayground
+#
+# run ./jsonldplayground for the usage
+
+if [ ! -d "tools/target/appassembler/bin" ]; then
+ mvn -quiet clean install
+ chmod +x tools/target/appassembler/bin/*
+fi
+
+tools/target/appassembler/bin/jsonldplayground
View
10 rdf2jsonld
@@ -1,10 +0,0 @@
-#!/bin/bash
-# This script runs the RDF2JSONLD code, which converts an input file or URI in rdfxml/n3 to JSON-LD.
-# The following commands are required to be run before this can be used (left out of the script itself
-# because they can take a while to run):
-# chmod +x rdf2jsonld
-# chmod +x tools/target/appassembler/bin/*
-# mvn -quiet install
-# run ./rdf2jsonld for the usage
-
-tools/target/appassembler/bin/rdf2jsonld

0 comments on commit 7d6f5fa

Please sign in to comment.