Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 37 lines (31 sloc) 0.73 kB
409b35d @n8han setup script
authored
1 #!/bin/sh
2
3 echo "
4 Fetching current launch configuration...
5 "
6 CS=$HOME/.conscript
c583278 @n8han fix script loc
authored
7 CSCS=$CS/n8han/conscript/cs
04936b3 @n8han script and vers updates
authored
8 CLC=$CSCS/launchconfig
9 mkdir -p $CSCS
9552b65 @n8han new url for raw source
authored
10 curl https://raw.github.com/n8han/conscript/master/src/main/conscript/cs/launchconfig \
409b35d @n8han setup script
authored
11 > $CLC
12 echo "
13 [boot]
14 directory: $CS/boot" >> $CLC
15
bb22a7d @weihsiu add $BIN to enable easy bin dir change
weihsiu authored
16 BIN=$HOME/bin
17 mkdir -p $BIN
409b35d @n8han setup script
authored
18
19 echo "#!/bin/sh
bb22a7d @weihsiu add $BIN to enable easy bin dir change
weihsiu authored
20 java -jar $CS/sbt-launch.jar @$CLC \"\$@\"" > $BIN/cs
409b35d @n8han setup script
authored
21
bb22a7d @weihsiu add $BIN to enable easy bin dir change
weihsiu authored
22 chmod a+x $BIN/cs
409b35d @n8han setup script
authored
23
5dc7e9c @n8han sbt 0.11.2 and source dep on proguard plugin
authored
24 LJV=0.11.2
3c90957 @n8han 0.3.0 post release updates
authored
25 LJ="sbt-launch-$LJV.jar"
04936b3 @n8han script and vers updates
authored
26 if [ ! -f $CS/$LJ ]; then
27 echo "
409b35d @n8han setup script
authored
28 Fetching launcher...
29 "
3c90957 @n8han 0.3.0 post release updates
authored
30 curl "http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/$LJV/sbt-launch.jar" \
04936b3 @n8han script and vers updates
authored
31 > $CS/$LJ
32 ln -sf $CS/$LJ $CS/sbt-launch.jar
33 fi
409b35d @n8han setup script
authored
34
35 echo "
bb22a7d @weihsiu add $BIN to enable easy bin dir change
weihsiu authored
36 conscript installed to $BIN/cs
409b35d @n8han setup script
authored
37 "
Something went wrong with that request. Please try again.