Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 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 |
---|---|---|
|
@@ -8,3 +8,4 @@ bin | |
*.project | ||
core-showcase/.settings | ||
.DS_Store | ||
staging |
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,33 @@ | ||
<project name="doctus"> | ||
<target name="deploy-showcases"> | ||
<exec executable="sbt" > | ||
<arg line="-Dsbt.log.noformat=true fullOptJS"/> | ||
</exec> | ||
<mkdir dir="staging"/> | ||
<copy todir="staging" verbose="true"> | ||
<fileset dir="showcase-scalajs/target/scala-2.11"> | ||
<include name="showcase-doctus-scalajs-*"/> | ||
</fileset> | ||
</copy> | ||
<copy todir="staging" verbose="true"> | ||
<fileset dir="showcase-scalajs"> | ||
<include name="showcase-scalajs/*.html"/> | ||
</fileset> | ||
</copy> | ||
<!-- | ||
<replace file="staging/index.html" | ||
token="target/scala-2.11/doctuswebaudiotryout-scalajs-fastopt.js" | ||
value="doctuswebaudiotryout-scalajs-opt.js"/> | ||
<scp remotetodir="root@entelijan.net:/var/www/webaudio" keyfile="${user.home}/.ssh/id_rsa"> | ||
<fileset dir="staging"> | ||
<include name="*"/> | ||
</fileset> | ||
</scp> | ||
--> | ||
</target> | ||
<target name="clean"> | ||
<exec executable="sbt" > | ||
<arg line="-Dsbt.log.noformat=true clean"/> | ||
</exec> | ||
</target> | ||
</project> |