Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.04 KB

README.md

File metadata and controls

65 lines (43 loc) · 1.04 KB

Styles

Bootstrap toolkit that embeds Font Awesome for developing with HTML, CSS, and JS.

Getting Started

To use this project, you'll need (at minimum):

  • Node.js' package ecosystem, npm

Install

GNU/Linux, or macOS

#!/bin/bash

GITUSER="ecwpz91"
git clone https://github.com/${GITUSER}/styles.git
cd styles

No git? No problem!

#!/bin/bash

DIRPATH="${HOME}/Downloads/styles"; GITUSER="ecwpz91"; RELEASE="master"
GITREPO="https://github.com/${GITUSER}/styles/archive/${RELEASE}.zip"
ARCHIVE="$(printf "%s" "${GITREPO##*/}")"

# Download and extract
wget ${GITREPO} \
&& temp="$(mktemp -d)" \
&& unzip -d $temp ${ARCHIVE} \
&& mkdir -p ${DIRPATH} \
&& mv $temp/*/* ${DIRPATH} \
&& rm -rf $temp ${ARCHIVE} \
&& cd ${DIRPATH} \
&& unset DIRPATH GITUSER GITREPO ARCHIVE

Setup

Using npm

cd styles/
npm i

Usage

Let's party ;)

grunt

What does this script do?

It compiles Bootstrap and embeds Font Awesome iconography into dist/. That's it!