Skip to content

Commit

Permalink
v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Pf2eTools committed Dec 28, 2021
1 parent 6fba481 commit bc57a7c
Show file tree
Hide file tree
Showing 204 changed files with 6,228 additions and 31,027 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Automated Release
on:
push:
tags:
- 'v**'
- '!v.**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'pf2ools-${{ env.RELEASE_VERSION }}.zip'
exclusions: '*.git* /*node_modules/* .editorconfig /*.github/* CNAME'

- name: Upload Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
artifacts: "pf2ools-${{ env.RELEASE_VERSION }}.zip"
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Pf2e.tools
## Pf2e.Tools
[![Automated Build](https://github.com/Pf2eTools/Pf2eTools.github.io/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/Pf2eTools/Pf2eTools.github.io/actions/workflows/build.yml)

Visit the main site (not yet) or go to the unofficial GitHub [mirror](https://pf2etools.github.io/Pf2eTools.html).

Expand Down
1 change: 0 additions & 1 deletion abilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ <h1 class="page__title">Abilities</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-abilities.js"></script>

<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
<script src="js/filter-abilities.js"></script>
Expand Down
1 change: 0 additions & 1 deletion actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ <h1 class="page__title">Actions</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-actions.js"></script>

<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
<script src="js/filter-actions.js"></script>
Expand Down
1 change: 0 additions & 1 deletion adventure.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ <h1 class="page__title book-head-header">Adventure Details</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-map.js"></script>

<script src="js/hist.js"></script>
<script src="js/bookutils.js"></script>
<script src="js/adventure.js"></script>
Expand Down
1 change: 0 additions & 1 deletion adventures.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ <h1 class="page__title">Adventures</h1>
<script src="js/omnisearch.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>

<script src="js/bookutils.js"></script>
<script src="js/bookslist.js"></script>
<script src="js/adventures.js"></script>
Expand Down
1 change: 0 additions & 1 deletion afflictions.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ <h1 class="page__title">Afflictions</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-afflictions.js"></script>

<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
<script src="js/filter-afflictions.js"></script>
Expand Down
1 change: 0 additions & 1 deletion ancestries.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ <h1 class="page__title">Ancestries</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-feats.js"></script>

<script src="js/listpage.js"></script>
<script src="js/filter-ancestries.js"></script>
<script src="js/filter-feats.js"></script>
Expand Down
48 changes: 22 additions & 26 deletions archetypes.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,33 +85,30 @@ <h1 class="page__title">Archetypes</h1>
<button class="sort btn btn-default btn-xs ve-grow" data-sort="source">Source <span
class="caret_wrp"></span></button>
</div>
<ul class="list list--stats archetypes" style="flex: 4;"></ul>

<!--TODO: Fix that stupid scrollbar, fuck css-->
<div class="feat-view mt-2" id="featlistcontainer" style="flex: 7; overflow: hidden;">
<div class="lst__form-top" id="feat-filter-search-group">
<div class="w-100 relative">
<input type="search" id="feat-lst__search" autocomplete="off" autocapitalize="off"
spellcheck="false" class="search form-control lst__search lst__search--no-border-h">
<div id="feat-lst__search-glass" class="lst__wrp-search-glass no-events flex-vh-center"><span
class="glyphicon glyphicon-search"></span></div>
<div class="lst__wrp-search-visible no-events flex-vh-center feats"></div>
</div>
<button class="btn btn-default px-2" id="feat-reset"><span
class="glyphicon glyphicon-refresh"></span></button>
</div>
<div id="feat-filtertools" class="input-group input-group--bottom flex no-shrink">
<button class="col-5 sort btn btn-default btn-xs" data-sort="name">Name <span
class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="level">Lvl. <span
class="caret_wrp"></span></button>
<button class="col-4 sort btn btn-default btn-xs" data-sort="prerequisites">Prerequisites <span
class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="source">Source <span
class="caret_wrp"></span></button>
<ul class="list list--stats archetypes" style="min-height: 30%;"></ul>

<div class="lst__form-top feat-view" id="feat-filter-search-group">
<div class="w-100 relative">
<input type="search" id="feat-lst__search" autocomplete="off" autocapitalize="off"
spellcheck="false" class="search form-control lst__search lst__search--no-border-h">
<div id="feat-lst__search-glass" class="lst__wrp-search-glass no-events flex-vh-center"><span
class="glyphicon glyphicon-search"></span></div>
<div class="lst__wrp-search-visible no-events flex-vh-center feats"></div>
</div>
<ul class="list list--stats feats" style="margin-right: 0;"></ul>
<button class="btn btn-default px-2" id="feat-reset"><span
class="glyphicon glyphicon-refresh"></span></button>
</div>
<div id="feat-filtertools" class="input-group input-group--bottom flex no-shrink feat-view">
<button class="col-5 sort btn btn-default btn-xs" data-sort="name">Name <span
class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="level">Lvl. <span
class="caret_wrp"></span></button>
<button class="col-4 sort btn btn-default btn-xs" data-sort="prerequisites">Prerequisites <span
class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="source">Source <span
class="caret_wrp"></span></button>
</div>
<ul class="list list--stats feats feat-view" style="min-height: 30%;"></ul>
</div>

<div id="contentwrapper" class="view-col" style="flex: 6;">
Expand Down Expand Up @@ -165,7 +162,6 @@ <h1 class="page__title">Archetypes</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-feats.js"></script>

<script src="js/listpage.js"></script>
<script src="js/filter-archetypes.js"></script>
<script src="js/filter-feats.js"></script>
Expand Down
1 change: 0 additions & 1 deletion backgrounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ <h1 class="page__title">Backgrounds</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-backgrounds.js"></script>

<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
<script src="js/filter-backgrounds.js"></script>
Expand Down
1 change: 0 additions & 1 deletion bestiary.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ <h3 class="mt-1 m-2">Group Info</h3>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-bestiary.js"></script>

<script src="js/filter-bestiary.js"></script>
<script src="js/listpage.js"></script>
<script src="js/bestiary.js"></script>
Expand Down
1 change: 0 additions & 1 deletion blacklist.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ <h4>Exclusion List</h4>
<script src="js/filter.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>

<script src="js/hist.js"></script>
<script src="js/blacklist.js"></script>
<script src="js/list2.js"></script>
Expand Down
1 change: 0 additions & 1 deletion book.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ <h1 class="book-head-header page__title">Book Details</h1>
<script src="js/omnisearch.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>

<script src="js/hist.js"></script>
<script src="js/bookutils.js"></script>
<script src="js/book.js"></script>
Expand Down
1 change: 0 additions & 1 deletion books.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ <h1 class="page__title">Books</h1>
<script src="js/omnisearch.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>

<script src="js/bookutils.js"></script>
<script src="js/bookslist.js"></script>
<script src="js/books.js"></script>
Expand Down
15 changes: 10 additions & 5 deletions build/deploy-prep-dev.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/bash

echo "Making the javascript cry (Minifying)."
for f in js/*.js
do
npm run minify -- "$f" --out-file "$f"
done
echo "Optimizing the header."
# Header / Day-Night mode
npm run minify:js -- js/styleswitch.js --output js/styleswitch.js
npm run minify:js -- js/navigation.js --output js/navigation.js
npm run minify:js -- js/browsercheck.js --output js/browsercheck.js
cat js/styleswitch.js <(echo ";") js/navigation.js <(echo ";") js/browsercheck.js > "js/header.js"

echo "Optimizing the JS."
# Improve cache performance by gluing these together. Order is important. `echo`s add newlines.
cat js/parser.js <(echo ";") js/utils.js <(echo ";") js/utils-ui.js <(echo ";") js/omnidexer.js <(echo ";") js/omnisearch.js <(echo ";") js/render.js <(echo ";") js/render-dice.js <(echo ";") js/scalecreature.js <(echo ";") js/hist.js > "js/shared.js"
1 change: 0 additions & 1 deletion changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ <h1 class="page__title">Changelog</h1>
<script src="js/omnisearch.js"></script>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>

<script src="js/list2.js"></script>
<script src="lib/jquery.js"></script>
<script src="js/scalecreature.js"></script>
Expand Down
1 change: 0 additions & 1 deletion classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ <h1 class="page__title">Classes</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-feats.js"></script>

<script src="js/listpage.js"></script>
<script src="js/filter-classes.js"></script>
<script src="js/filter-feats.js"></script>
Expand Down
1 change: 0 additions & 1 deletion companionsfamiliars.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ <h1 class="page__title">Companions & Familiars</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-companionsfamiliars.js"></script>

<script src="js/filter.js"></script>
<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
Expand Down
1 change: 0 additions & 1 deletion conditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ <h1 class="page__title">Conditions</h1>
<script src="js/render.js"></script>
<script src="js/render-dice.js"></script>
<script src="js/render-conditions.js"></script>

<script src="js/hist.js"></script>
<script src="js/listpage.js"></script>
<script src="js/filter-conditions.js"></script>
Expand Down
Loading

0 comments on commit bc57a7c

Please sign in to comment.