mirror of
https://github.com/primer/css.git
synced 2024-11-24 05:06:04 +03:00
build full page list, don't exit(1) on diff
This commit is contained in:
parent
33c5ad4cee
commit
7448568234
110
docs/before.txt
110
docs/before.txt
@ -1,48 +1,78 @@
|
||||
./whats_new/changelog.md
|
||||
./objects/grid.md
|
||||
./objects/table-object.md
|
||||
./objects/layout.md
|
||||
./utilities/marketing-filters.md
|
||||
./utilities/marketing-padding.md
|
||||
./utilities/marketing-margin.md
|
||||
./utilities/marketing-layout.md
|
||||
./utilities/details.md
|
||||
./utilities/padding.md
|
||||
./utilities/flexbox.md
|
||||
./utilities/marketing-borders.md
|
||||
./utilities/animations.md
|
||||
./utilities/box-shadow.md
|
||||
./utilities/typography.md
|
||||
./utilities/marketing-type.md
|
||||
./utilities/margin.md
|
||||
./utilities/layout.md
|
||||
./utilities/borders.md
|
||||
./components/page-headers.md
|
||||
./components/markdown.md
|
||||
./components/buttons.md
|
||||
./components/tables.md
|
||||
./components/forms.md
|
||||
./components/blankslate.md
|
||||
./components/marketing-buttons.md
|
||||
./components/popover.md
|
||||
./components/pagination.md
|
||||
./components/progress.md
|
||||
./components/branch-name.md
|
||||
./components/navigation.md
|
||||
./components/subhead.md
|
||||
./components/avatars.md
|
||||
./components/tooltips.md
|
||||
./components/alerts.md
|
||||
./components/avatars.md
|
||||
./components/blankslate.md
|
||||
./components/box-overlay.md
|
||||
./components/box.md
|
||||
./components/boxed-groups.md
|
||||
./components/branch-name.md
|
||||
./components/breadcrumb.md
|
||||
./components/buttons.md
|
||||
./components/dropdown.md
|
||||
./components/flash-banner.md
|
||||
./components/forms.md
|
||||
./components/index.md
|
||||
./components/labels.md
|
||||
./components/truncate.md
|
||||
./components/markdown.md
|
||||
./components/marketing-buttons.md
|
||||
./components/navigation.md
|
||||
./components/octicons.md
|
||||
./components/page-headers.md
|
||||
./components/page-sections.md
|
||||
./support/marketing-variables.md
|
||||
./components/pagehead.md
|
||||
./components/pagination.md
|
||||
./components/popover.md
|
||||
./components/progress.md
|
||||
./components/select-menu.md
|
||||
./components/subhead.md
|
||||
./components/tables.md
|
||||
./components/tooltips.md
|
||||
./components/truncate.md
|
||||
./getting_started/contributing.md
|
||||
./getting_started/index.md
|
||||
./objects/grid.md
|
||||
./objects/index.md
|
||||
./objects/layout.md
|
||||
./objects/table-object.md
|
||||
./packages/primer-core.md
|
||||
./packages/primer-marketing.md
|
||||
./packages/primer-product.md
|
||||
./packages/primer.md
|
||||
./principles/HTML.md
|
||||
./principles/SCSS.md
|
||||
./principles/accessibility.md
|
||||
./principles/index.md
|
||||
./support/breakpoints.md
|
||||
./support/color-system.md
|
||||
./support/index.md
|
||||
./support/marketing-variables.md
|
||||
./support/spacing.md
|
||||
./support/typography.md
|
||||
./packages/primer-core.md
|
||||
./packages/primer.md
|
||||
./packages/primer-product.md
|
||||
./packages/primer-marketing.md
|
||||
./tools/atom-packages.md
|
||||
./tools/docset.md
|
||||
./tools/index.md
|
||||
./tools/linting.md
|
||||
./tools/local-primer.md
|
||||
./tools/prototyping.md
|
||||
./tools/sketch-templates.md
|
||||
./tools/testing.md
|
||||
./utilities/animations.md
|
||||
./utilities/borders.md
|
||||
./utilities/box-shadow.md
|
||||
./utilities/colors.md
|
||||
./utilities/details.md
|
||||
./utilities/flexbox.md
|
||||
./utilities/index.md
|
||||
./utilities/layout.md
|
||||
./utilities/margin.md
|
||||
./utilities/marketing-borders.md
|
||||
./utilities/marketing-filters.md
|
||||
./utilities/marketing-layout.md
|
||||
./utilities/marketing-margin.md
|
||||
./utilities/marketing-padding.md
|
||||
./utilities/marketing-type.md
|
||||
./utilities/padding.md
|
||||
./utilities/typography.md
|
||||
./whats_new/changelog.md
|
||||
./whats_new/changelog/archived_changelog.md
|
||||
./whats_new/index.md
|
||||
./whats_new/status-key.md
|
||||
|
13
docs/test.sh
13
docs/test.sh
@ -4,12 +4,19 @@ cwd=`pwd`
|
||||
|
||||
if [[ ! -e before.txt ]]; then
|
||||
pushd ../../../github/styleguide/src/_primer > /dev/null
|
||||
find . -name '*.md' > $cwd/before.txt
|
||||
find . -name '*.md' | sort -u > $cwd/tmp.txt
|
||||
popd > /dev/null
|
||||
pushd ../../../github/styleguide/src/primer > /dev/null
|
||||
find . -name '*.md' | sort -u >> $cwd/tmp.txt
|
||||
popd > /dev/null
|
||||
cat tmp.txt | sort -u > before.txt
|
||||
rm tmp.txt
|
||||
fi
|
||||
|
||||
pushd pages/css > /dev/null
|
||||
find . -name '*.md' > $cwd/after.txt
|
||||
find . -name '*.md' | sort -u > $cwd/after.txt
|
||||
popd > /dev/null
|
||||
|
||||
diff before.txt after.txt
|
||||
diff before.txt after.txt || {
|
||||
echo "There was a diff, but it's probably not a big deal?"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user