GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pre-commit.github.io/Makefile at real_master · andrewhare/pre-commit.github.io

Expand file tree

/

Makefile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
47 lines (36 loc) · 1.23 KB
/

Makefile

Copy path

File metadata and controls

47 lines (36 loc) · 1.23 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# To build scss continuously I use `watch -n 0.1 make build/main.css`
all: install-hooks build/main.css all-hooks.json index.html hooks.html
.PHONY: install-hooks
install-hooks: venv
venv/bin/pre-commit install
build/main.css: venv node_modules build scss/main.scss scss/_variables.scss
venv/bin/pysassc -s compressed scss/main.scss build/main.css
all-hooks.json: venv make_all_hooks.py all-repos.yaml
venv/bin/python make_all_hooks.py
index.html hooks.html: venv all-hooks.json base.mako index.mako hooks.mako make_templates.py
venv/bin/python make_templates.py
venv: requirements-dev.txt Makefile
rm -rf venv
virtualenv venv -ppython3
venv/bin/pip install -r requirements-dev.txt
node_modules: package.json
( \
npm install && \
npm prune && \
touch $@ \
) || touch $@ --reference $^ --date '1 day ago'
push: venv
venv/bin/markdown-to-presentation push \
--master-branch real_master \
--pages-branch master \
.nojekyll README.md CNAME \
build node_modules *.html *.png *.svg favicon.ico \
all-hooks.json install-local.py
clean:
rm -rf venv build node_modules *.html all-hooks.json
build:
mkdir -p build
.PHONY: open
open: all
(which google-chrome && google-chrome index.html) || \
(which firefox && firefox index.html) &
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.