This repository has been archived by the owner on Sep 25, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Makefile, and moved a lot of the build logic out of maven. Wher…
…e possible, delegated to Make in the maven build. The reason for this is that building the project with maven would take over 20 seconds, whereas with Make, it takes about 2 seconds. Maven will still be used to download java dependencies, and as a frontend to launch the rhino runner.js entry point.
- Loading branch information
Showing
7 changed files
with
44 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
*.sw* | ||
Session.vim | ||
target | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#todo: requirejs build script as well | ||
|
||
csdir = src/main/coffeescript | ||
|
||
.PHONY : clean coffee copy-others scion | ||
|
||
clean: | ||
rm -rf build | ||
|
||
build : | ||
if [ ! -d build/scxml/test/ ]; then mkdir -p build/scxml/test/; fi | ||
|
||
coffee : build | ||
#fixme: is there a smarter way to do this than iterating over each directory? | ||
#something like `find $(csdir) -name *.coffee`, and then map the names | ||
coffee -o build/scxml $(csdir)/scxml/*.coffee | ||
coffee -o build/scxml/test $(csdir)/scxml/test/*.coffee | ||
|
||
|
||
copy-others : build | ||
cp -r lib/js/ build/lib/ | ||
cp -r src/main/javascript/* build/ | ||
cp -r src/main/xslt build/ | ||
|
||
scion : copy-others coffee |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
dn=`dirname $0` | ||
abspath=`cd $dn; pwd` | ||
mvn -q -o -f $abspath/pom.xml exec:java -DscxmlArgs="$*" | ||
mvn -o -f $abspath/pom.xml exec:java -DscxmlArgs="$*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters