Skip to content

Commit

Permalink
build sample app on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbanin committed May 3, 2019
1 parent fe5b74d commit cf2c791
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ env/
.tmp/
dist/
yarn-error.log
.sass-cache/
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "dbt-styleguide"]
path = styles
url = git@github.com:fishtown-analytics/dbt-styleguide.git
url = https://github.com/fishtown-analytics/dbt-styleguide.git
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Hint for netlify to install jekyll for the styleguide submodule
source "https://rubygems.org"

gem "jekyll"

7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@ dist: clean
DBT_DOCS_ENV=production webpack
rm -rf dist/fonts dist/main.js dist/main.js.map

dist-ci: clean
git submodule init
git submodule update
jekyll build -s styles/ -d styles/_site
DBT_DOCS_ENV=production webpack
cp data/*.json dist/

clean:
rm -rf dist/
2 changes: 2 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sample data for CI / testing
via https://github.com/fishtown-analytics/jaffle_shop
1 change: 1 addition & 0 deletions data/catalog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"nodes": {}, "generated_at": "2019-05-03T15:32:07.810497Z"}
1 change: 1 addition & 0 deletions data/manifest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data/run_results.json

Large diffs are not rendered by default.

0 comments on commit cf2c791

Please sign in to comment.