-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathget-deps.sh
executable file
·34 lines (28 loc) · 1.15 KB
/
get-deps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash -e
#########################################################
# Checks out site content dependencies needed to generate the full site
#########################################################
# Check out the events repo as a direct subdir
#git clone --depth=1 https://github.com/Terracotta-OSS/terracotta.org-site-events.git events
# Check out a single copy of quartz to use below:
git clone https://github.com/quartz-scheduler/quartz.git __reference
pushd __reference
# Copy latest version of quartz docs to a subdir:
VER=2.4.0-SNAPSHOT
#git checkout master
cp -rf docs ../documentation/${VER}
#mvn package -Pdist -DskipTests
#cp -r distribution/target/quartz-${VER}-distribution.tar.gz ../downloads/files
#mkdir -p ../api/${VER}
#cp -r distribution/target/quartz-${VER}/javadoc/* ../api/${VER}
# Copy 2.3.x version of quartz docs to a subdir:
VER=2.3.1-SNAPSHOT
git checkout quartz-2.3.x
cp -rf docs ../documentation/${VER}
#mvn package -Pdist -DskipTests
#cp -r distribution/target/quartz-${VER}-distribution.tar.gz ../downloads/files
#mkdir -p ../api/${VER}
#cp -r distribution/target/quartz-${VER}/javadoc/* ../api/${VER}
# clean up
popd
rm -rf __reference