Skip to content

Commit

Permalink
Merge pull request ballerina-attic#952 from Thimuth/master
Browse files Browse the repository at this point in the history
Fetching BBE from the repo
  • Loading branch information
madhuramendis authored Jul 2, 2018
2 parents 5c715d3 + 03d9961 commit 9c02170
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion website/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<executable>sh</executable>
<arguments>
<argument>tools/build-bbe.sh</argument>
<argument>${bbe.source.dir}</argument>
<argument>${bbe.source.repo}</argument>
<argument>${bbe.site.dir}</argument>
<argument>${go.working.dir}</argument>
</arguments>
Expand Down Expand Up @@ -261,6 +261,7 @@
</build>
<properties>
<bbe.source.dir>${project.build.directory}/sources/examples</bbe.source.dir>
<bbe.source.repo>https://github.com/ballerina-platform/ballerina-examples</bbe.source.repo>
<ballerina.home>${project.build.directory}/dependencies/ballerina-tools-${ballerina.release.version}/</ballerina.home>
<guides.source.dir>${basedir}/guides</guides.source.dir>
<philosophy.samples.source.dir>${project.build.directory}/sources/samples</philosophy.samples.source.dir>
Expand Down
4 changes: 3 additions & 1 deletion website/tools/build-bbe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ echo ".....Building BBE Site....."
mkdir -p $2
export GOPATH=$3
go get github.com/russross/blackfriday
go run tools/ballerinaByExample/tools/generate.go $1 $2
rm target/dependencies/ballerina-examples -rf
git clone $1 target/dependencies/ballerina-examples
go run tools/ballerinaByExample/tools/generate.go "target/dependencies/ballerina-examples" $2
echo "....Completed building BBE Site...."

0 comments on commit 9c02170

Please sign in to comment.