removed other games
27
tools/gopher-kart/.gitignore
vendored
@ -1,27 +0,0 @@
|
|||||||
# General
|
|
||||||
.DS_Store
|
|
||||||
.AppleDouble
|
|
||||||
.LSOverride
|
|
||||||
|
|
||||||
# Icon must end with two \r
|
|
||||||
Icon
|
|
||||||
|
|
||||||
|
|
||||||
# Thumbnails
|
|
||||||
._*
|
|
||||||
|
|
||||||
# Files that might appear in the root of a volume
|
|
||||||
.DocumentRevisions-V100
|
|
||||||
.fseventsd
|
|
||||||
.Spotlight-V100
|
|
||||||
.TemporaryItems
|
|
||||||
.Trashes
|
|
||||||
.VolumeIcon.icns
|
|
||||||
.com.apple.timemachine.donotpresent
|
|
||||||
|
|
||||||
# Directories potentially created on remote AFP share
|
|
||||||
.AppleDB
|
|
||||||
.AppleDesktop
|
|
||||||
Network Trash Folder
|
|
||||||
Temporary Items
|
|
||||||
.apdisk
|
|
@ -1,7 +0,0 @@
|
|||||||
FROM httpd
|
|
||||||
|
|
||||||
# Copy Apache config.
|
|
||||||
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
|
|
||||||
|
|
||||||
# Copy source files.
|
|
||||||
COPY . /usr/local/apache2/htdocs/
|
|
@ -1,14 +0,0 @@
|
|||||||
build:
|
|
||||||
@docker build -t quay.io/ardanlabs/ardan-labs-racing-game .
|
|
||||||
|
|
||||||
run: build
|
|
||||||
@docker run -p 8080:80 quay.io/ardanlabs/ardan-labs-racing-game
|
|
||||||
|
|
||||||
push: build
|
|
||||||
@docker push quay.io/ardanlabs/ardan-labs-racing-game
|
|
||||||
|
|
||||||
deploy: push
|
|
||||||
@curl -X POST -d "" https://hooks.cloud66.com/stacks/redeploy/103c4c9d8e625f05551c9d64256a30b6/2c366231dcab8d579e51077d21157ac0?services=ardan-labs-api,ardan-labs-hugo
|
|
||||||
|
|
||||||
open:
|
|
||||||
@open http://localhost:8080
|
|
@ -1,21 +0,0 @@
|
|||||||
# GopherCon Racing Game
|
|
||||||
|
|
||||||
Created by Jamilet Zelaya with very little help from Erick Zelaya.
|
|
||||||
|
|
||||||
# Run
|
|
||||||
|
|
||||||
You can simply double click on `index.html`.
|
|
||||||
|
|
||||||
Additionally you can also run with Docker (naturally it's required for this).
|
|
||||||
Apache will start and log all the requests.
|
|
||||||
|
|
||||||
```
|
|
||||||
make run
|
|
||||||
```
|
|
||||||
|
|
||||||
You can now go to http://localhost:8080 or use make.
|
|
||||||
|
|
||||||
```
|
|
||||||
make open
|
|
||||||
```
|
|
||||||
|
|
Before Width: | Height: | Size: 694 B |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 388 B |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 842 B |
Before Width: | Height: | Size: 54 KiB |
@ -1,109 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--Created using Glyph Designer - http://71squared.com/glyphdesigner-->
|
|
||||||
<font>
|
|
||||||
<info face="Pixel Emulator" size="64" bold="0" italic="0" charset="" unicode="0" stretchH="100" smooth="1" aa="1" padding="0,0,0,0" spacing="2,2"/>
|
|
||||||
<common lineHeight="75" base="62" scaleW="539" scaleH="543" pages="1" packed="0"/>
|
|
||||||
<pages>
|
|
||||||
<page id="0" file="pixelFont.png"/>
|
|
||||||
</pages>
|
|
||||||
<chars count="97">
|
|
||||||
<char id="32" x="257" y="489" width="0" height="0" xoffset="0" yoffset="63" xadvance="50" page="0" chnl="0" letter="space"/>
|
|
||||||
<char id="33" x="164" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="!"/>
|
|
||||||
<char id="34" x="74" y="489" width="27" height="21" xoffset="0" yoffset="11" xadvance="25" page="0" chnl="0" letter="""/>
|
|
||||||
<char id="35" x="211" y="435" width="40" height="40" xoffset="0" yoffset="17" xadvance="38" page="0" chnl="0" letter="#"/>
|
|
||||||
<char id="36" x="277" y="2" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="$"/>
|
|
||||||
<char id="37" x="331" y="2" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="%"/>
|
|
||||||
<char id="38" x="385" y="2" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="&"/>
|
|
||||||
<char id="39" x="103" y="489" width="15" height="21" xoffset="0" yoffset="11" xadvance="13" page="0" chnl="0" letter="'"/>
|
|
||||||
<char id="40" x="212" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="("/>
|
|
||||||
<char id="41" x="260" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter=")"/>
|
|
||||||
<char id="42" x="253" y="435" width="40" height="40" xoffset="0" yoffset="17" xadvance="38" page="0" chnl="0" letter="*"/>
|
|
||||||
<char id="43" x="295" y="435" width="40" height="40" xoffset="0" yoffset="17" xadvance="38" page="0" chnl="0" letter="+"/>
|
|
||||||
<char id="44" x="120" y="489" width="15" height="21" xoffset="0" yoffset="48" xadvance="13" page="0" chnl="0" letter=","/>
|
|
||||||
<char id="45" x="198" y="489" width="40" height="15" xoffset="0" yoffset="29" xadvance="38" page="0" chnl="0" letter="-"/>
|
|
||||||
<char id="46" x="240" y="489" width="15" height="15" xoffset="0" yoffset="48" xadvance="13" page="0" chnl="0" letter="."/>
|
|
||||||
<char id="47" x="439" y="2" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="/"/>
|
|
||||||
<char id="48" x="2" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="0"/>
|
|
||||||
<char id="49" x="308" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="1"/>
|
|
||||||
<char id="50" x="56" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="2"/>
|
|
||||||
<char id="51" x="110" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="3"/>
|
|
||||||
<char id="52" x="164" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="4"/>
|
|
||||||
<char id="53" x="218" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="5"/>
|
|
||||||
<char id="54" x="272" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="6"/>
|
|
||||||
<char id="55" x="326" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="7"/>
|
|
||||||
<char id="56" x="380" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="8"/>
|
|
||||||
<char id="57" x="434" y="57" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="9"/>
|
|
||||||
<char id="58" x="354" y="435" width="15" height="34" xoffset="0" yoffset="29" xadvance="13" page="0" chnl="0" letter=":"/>
|
|
||||||
<char id="59" x="337" y="435" width="15" height="40" xoffset="0" yoffset="29" xadvance="13" page="0" chnl="0" letter=";"/>
|
|
||||||
<char id="60" x="115" y="435" width="46" height="40" xoffset="0" yoffset="17" xadvance="44" page="0" chnl="0" letter="<"/>
|
|
||||||
<char id="61" x="425" y="435" width="40" height="27" xoffset="0" yoffset="23" xadvance="38" page="0" chnl="0" letter="="/>
|
|
||||||
<char id="62" x="163" y="435" width="46" height="40" xoffset="0" yoffset="17" xadvance="44" page="0" chnl="0" letter=">"/>
|
|
||||||
<char id="63" x="2" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="?"/>
|
|
||||||
<char id="64" x="2" y="2" width="53" height="53" xoffset="0" yoffset="10" xadvance="50" page="0" chnl="0" letter="@"/>
|
|
||||||
<char id="65" x="56" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="A"/>
|
|
||||||
<char id="66" x="110" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="B"/>
|
|
||||||
<char id="67" x="164" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="C"/>
|
|
||||||
<char id="68" x="218" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="D"/>
|
|
||||||
<char id="69" x="356" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="E"/>
|
|
||||||
<char id="70" x="404" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="F"/>
|
|
||||||
<char id="71" x="272" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="G"/>
|
|
||||||
<char id="72" x="326" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="H"/>
|
|
||||||
<char id="73" x="452" y="327" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="I"/>
|
|
||||||
<char id="74" x="380" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="J"/>
|
|
||||||
<char id="75" x="434" y="111" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="K"/>
|
|
||||||
<char id="76" x="2" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="L"/>
|
|
||||||
<char id="77" x="2" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="M"/>
|
|
||||||
<char id="78" x="56" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="N"/>
|
|
||||||
<char id="79" x="110" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="O"/>
|
|
||||||
<char id="80" x="164" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="P"/>
|
|
||||||
<char id="81" x="218" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="Q"/>
|
|
||||||
<char id="82" x="57" y="2" width="53" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="R"/>
|
|
||||||
<char id="83" x="272" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="S"/>
|
|
||||||
<char id="84" x="50" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="T"/>
|
|
||||||
<char id="85" x="326" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="U"/>
|
|
||||||
<char id="86" x="380" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="V"/>
|
|
||||||
<char id="87" x="434" y="165" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="W"/>
|
|
||||||
<char id="88" x="2" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="X"/>
|
|
||||||
<char id="89" x="98" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="Y"/>
|
|
||||||
<char id="90" x="112" y="2" width="53" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="Z"/>
|
|
||||||
<char id="91" x="146" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="["/>
|
|
||||||
<char id="92" x="56" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="\"/>
|
|
||||||
<char id="93" x="194" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="]"/>
|
|
||||||
<char id="94" x="2" y="489" width="34" height="21" xoffset="0" yoffset="-8" xadvance="31" page="0" chnl="0" letter="^"/>
|
|
||||||
<char id="95" x="137" y="489" width="59" height="15" xoffset="0" yoffset="54" xadvance="50" page="0" chnl="0" letter="_"/>
|
|
||||||
<char id="96" x="38" y="489" width="34" height="21" xoffset="0" yoffset="-8" xadvance="31" page="0" chnl="0" letter="`"/>
|
|
||||||
<char id="97" x="110" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="a"/>
|
|
||||||
<char id="98" x="164" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="b"/>
|
|
||||||
<char id="99" x="218" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="c"/>
|
|
||||||
<char id="100" x="272" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="d"/>
|
|
||||||
<char id="101" x="242" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="e"/>
|
|
||||||
<char id="102" x="290" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="f"/>
|
|
||||||
<char id="103" x="326" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="g"/>
|
|
||||||
<char id="104" x="380" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="h"/>
|
|
||||||
<char id="105" x="338" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="i"/>
|
|
||||||
<char id="106" x="434" y="219" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="j"/>
|
|
||||||
<char id="107" x="2" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="k"/>
|
|
||||||
<char id="108" x="386" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="l"/>
|
|
||||||
<char id="109" x="56" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="m"/>
|
|
||||||
<char id="110" x="110" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="n"/>
|
|
||||||
<char id="111" x="164" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="o"/>
|
|
||||||
<char id="112" x="218" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="p"/>
|
|
||||||
<char id="113" x="272" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="q"/>
|
|
||||||
<char id="114" x="167" y="2" width="53" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="r"/>
|
|
||||||
<char id="115" x="326" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="s"/>
|
|
||||||
<char id="116" x="434" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="t"/>
|
|
||||||
<char id="117" x="380" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="u"/>
|
|
||||||
<char id="118" x="434" y="273" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="v"/>
|
|
||||||
<char id="119" x="2" y="327" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="w"/>
|
|
||||||
<char id="120" x="56" y="327" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="x"/>
|
|
||||||
<char id="121" x="482" y="381" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="y"/>
|
|
||||||
<char id="122" x="222" y="2" width="53" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="z"/>
|
|
||||||
<char id="123" x="2" y="435" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="{"/>
|
|
||||||
<char id="124" x="98" y="435" width="15" height="52" xoffset="0" yoffset="11" xadvance="13" page="0" chnl="0" letter="|"/>
|
|
||||||
<char id="125" x="50" y="435" width="46" height="52" xoffset="0" yoffset="11" xadvance="44" page="0" chnl="0" letter="}"/>
|
|
||||||
<char id="126" x="467" y="435" width="46" height="21" xoffset="0" yoffset="-8" xadvance="44" page="0" chnl="0" letter="~"/>
|
|
||||||
<char id="169" x="110" y="327" width="52" height="52" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="©"/>
|
|
||||||
<char id="8470" x="371" y="435" width="52" height="27" xoffset="0" yoffset="11" xadvance="50" page="0" chnl="0" letter="№;%:?*()_+-=.,/|"'@#$^&{}[]©"/>
|
|
||||||
</chars>
|
|
||||||
<kernings count="0"/>
|
|
||||||
</font>
|
|
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 234 KiB |
Before Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 450 B |
Before Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 525 B |
Before Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 303 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 375 KiB |
Before Width: | Height: | Size: 381 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 299 KiB |
Before Width: | Height: | Size: 240 KiB |
Before Width: | Height: | Size: 12 KiB |
@ -1,19 +0,0 @@
|
|||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- nodejs_version: 7
|
|
||||||
- nodejs_version: 6
|
|
||||||
- nodejs_version: 5
|
|
||||||
- nodejs_version: 4
|
|
||||||
install:
|
|
||||||
- ps: Install-Product node $env:nodejs_version
|
|
||||||
- set CI=true
|
|
||||||
- npm i -g npm
|
|
||||||
- set PATH=%APPDATA%\npm;%PATH%
|
|
||||||
- npm i
|
|
||||||
matrix:
|
|
||||||
fast_finish: true
|
|
||||||
build: off
|
|
||||||
version: '{build}'
|
|
||||||
shallow_clone: true
|
|
||||||
clone_depth: 1
|
|
||||||
test_script: npm t
|
|
@ -1,12 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
indent_style = tab
|
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[{*.yml}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "styled"
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Contributing
|
|
||||||
|
|
||||||
We would love for you to contribute to Milligram and help us make this even better! Start reading this document to see it is not difficult as you might have imagined.
|
|
||||||
|
|
||||||
|
|
||||||
## Table of Contents
|
|
||||||
|
|
||||||
- [Open an Issue](#open-an-issue)
|
|
||||||
- [Submit a Pull Request](#submit-a-pull-request)
|
|
||||||
- [Building](#building)
|
|
||||||
- [Style Guide](#style-guide)
|
|
||||||
- [Test](#test)
|
|
||||||
- [Code of Conduct](#code-of-conduct)
|
|
||||||
- [License](#license)
|
|
||||||
|
|
||||||
|
|
||||||
## Open an Issue
|
|
||||||
|
|
||||||
[Open an Issue](https://github.com/milligram/milligram/issues/new) to report any problems or improvements. When necessary, use [Codepen](http://codepen.io/) to show the problem. Be sure to include some description to explain the problem.
|
|
||||||
|
|
||||||
|
|
||||||
## Submit a Pull Request
|
|
||||||
|
|
||||||
To submit a new feature, make sure that changes are done to the source code. [Follow our style guide](#style-guide) and do not forget the tests and attach the link [Codepen](http://codepen.io/) along with the description.
|
|
||||||
|
|
||||||
Try to solve a problem for each pull request, this increases the chances of acceptance. When in doubt, open a [new issue](#open-an-issue) so we can answer you. Look existing issues for ideas or to see if a similar issue has already been submitted.
|
|
||||||
|
|
||||||
1. Fork the Github repo: `git clone https://github.com/milligram/milligram.git`
|
|
||||||
1. Create a new branch: `git checkout -b issuenumber-feature-name`
|
|
||||||
1. Commit your changes: `git commit -m 'issuenumber-feature-name'`
|
|
||||||
1. Push to the branch: `git push origin my-feature-name`
|
|
||||||
1. Submit a pull request!
|
|
||||||
|
|
||||||
*Note: For issues relating to the site, please use the [milligram.github.io](https://github.com/milligram/milligram.github.io)*
|
|
||||||
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
First install [Node.js](https://nodejs.org/en/download/) for the build process. Now install all the dependencies, run `npm install` from the project directory. Once you have the dependencies installed, run `npm start`. This will run the build task which compiles the Sass files into Milligram.css file in the expanded and compressed version.
|
|
||||||
|
|
||||||
|
|
||||||
## Style Guide
|
|
||||||
|
|
||||||
Milligram use [Sass](http://sass-lang.com/) to give super powers to CSS. Look at how the code is being maintained, we must always be consistent. We try to follow best practices as much as possible. In addition, here are some tips you should follow:
|
|
||||||
|
|
||||||
- Properties and selectors are sorted in alphabetical order
|
|
||||||
- Always use tab to indentation, no spaces
|
|
||||||
- Always use single quote, i.e. `content: ''`
|
|
||||||
- Quote attribute values in selectors, i.e. `input[type='checkbox']`
|
|
||||||
- Avoid specifying units for zero-values, i.e. `margin: 0`
|
|
||||||
- Use `rem` unit instead of `px`
|
|
||||||
- Use lowercase and shorthand hex values, i.e. `#fff`
|
|
||||||
- Use one discrete selector per line in multi-selector rulesets
|
|
||||||
- Include a single space after colon and after each comma
|
|
||||||
- Separate each ruleset by a blank line
|
|
||||||
- Don't use prefixes, there is a task to generate this automatically
|
|
||||||
|
|
||||||
```sass
|
|
||||||
.selector-a,
|
|
||||||
.selector-b,
|
|
||||||
.selector-c,
|
|
||||||
.selector-d[type='text']
|
|
||||||
box-sizing: border-box
|
|
||||||
color: #333
|
|
||||||
content: ''
|
|
||||||
display: inline-block
|
|
||||||
font-family: 'Helvetica-Neue', 'Helvetica', 'Arial', sans-serif
|
|
||||||
margin-bottom: 0
|
|
||||||
margin-left: 5.0rem
|
|
||||||
|
|
||||||
.other-selector-a
|
|
||||||
background: #fff
|
|
||||||
|
|
||||||
.other-selector-b
|
|
||||||
background: #fff
|
|
||||||
|
|
||||||
&.increasing-the-specificity
|
|
||||||
color: #000
|
|
||||||
```
|
|
||||||
|
|
||||||
*Note: This style guide was inspired by [Idiomatic.css](https://github.com/necolas/idiomatic-css). Milligram uses an `.editorconfig` file, which most editors support, to enforce these coding standards.*
|
|
||||||
|
|
||||||
|
|
||||||
## Test
|
|
||||||
|
|
||||||
Breaking CSS is easy. Checking every responsive page element is hard. That's why Milligram uses automated visual regression testing for responsive web UI by comparing DOM screenshots at various viewport sizes. To view the comparison run `npm test` after making changes to the source code.
|
|
||||||
|
|
||||||
|
|
||||||
## Code of Conduct
|
|
||||||
|
|
||||||
Help us keep Milligram open and inclusive. Please read and follow our thoughts on [Code of Conduct](http://confcodeofconduct.com/).
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
By contributing your code, you agree to license your contribution under the [MIT license](https://github.com/milligram/milligram#license).
|
|
@ -1,47 +0,0 @@
|
|||||||
<!--
|
|
||||||
|
|
||||||
We would love for you to contribute to Milligram and help us make this even better! Start reading this [document](https://github.com/milligram/milligram/blob/master/.github/contributing.md) to see it is not difficult as you might have imagined.
|
|
||||||
|
|
||||||
Open an Issue
|
|
||||||
==============================
|
|
||||||
[Open an Issue](https://github.com/milligram/milligram/issues/new) to report any problems or improvements. When necessary, use [Codepen](http://codepen.io/) to show the problem. Be sure to include some description to explain the problem.
|
|
||||||
|
|
||||||
Code of Conduct
|
|
||||||
==============================
|
|
||||||
Help us keep Milligram open and inclusive. Please read and follow our thoughts on [Code of Conduct](http://confcodeofconduct.com/).
|
|
||||||
|
|
||||||
License
|
|
||||||
==============================
|
|
||||||
By contributing your code, you agree to license your contribution under the [MIT license](https://github.com/milligram/milligram#license).
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
### Version info
|
|
||||||
|
|
||||||
<!-- What versions of the following libraries are you using? Note that your issue may already
|
|
||||||
be fixed in the latest versions. -->
|
|
||||||
|
|
||||||
**Milligram:**
|
|
||||||
|
|
||||||
**Other (e.g. normalize.css, node.js, npm, bower, browser, operating system) (if applicable):**
|
|
||||||
|
|
||||||
|
|
||||||
### Test case
|
|
||||||
|
|
||||||
<!-- Provide code samples on [Codepen](http://codepen.io/). -->
|
|
||||||
|
|
||||||
|
|
||||||
### Steps to reproduce
|
|
||||||
|
|
||||||
<!-- Provide the steps needed to reproduce the issue given the above test case. -->
|
|
||||||
|
|
||||||
|
|
||||||
### Expected behavior
|
|
||||||
|
|
||||||
<!-- What is the expected behavior? -->
|
|
||||||
|
|
||||||
|
|
||||||
### Actual behavior
|
|
||||||
|
|
||||||
<!-- What is the actual behavior? -->
|
|
@ -1,36 +0,0 @@
|
|||||||
<!--
|
|
||||||
|
|
||||||
We would love for you to contribute to Milligram and help us make this even better! Start reading this [document](https://github.com/milligram/milligram/blob/master/.github/contributing.md) to see it is not difficult as you might have imagined.
|
|
||||||
|
|
||||||
Submit a Pull Request
|
|
||||||
==============================
|
|
||||||
To submit a new feature, make sure that changes are done to the source code. [Follow our style guide](https://github.com/milligram/milligram/blob/master/.github/contributing.md#style-guide) and do not forget the tests and attach the link [Codepen](http://codepen.io/) along with the description.
|
|
||||||
|
|
||||||
Try to solve a problem for each pull request, this increases the chances of acceptance. When in doubt, open a [new issue](https://github.com/milligram/milligram/blob/master/.github/contributing.md#open-an-issue) so we can answer you. Look existing issues for ideas or to see if a similar issue has already been submitted.
|
|
||||||
|
|
||||||
1. Fork the Github repo: `git clone https://github.com/milligram/milligram.git`
|
|
||||||
1. Create a new branch: `git checkout -b issuenumber-feature-name`
|
|
||||||
1. Commit your changes: `git commit -m 'issuenumber-feature-name'`
|
|
||||||
1. Push to the branch: `git push origin my-feature-name`
|
|
||||||
1. Submit a pull request!
|
|
||||||
|
|
||||||
*Note: For issues relating to the site, please use the [milligram.github.io](https://github.com/milligram/milligram.github.io)*
|
|
||||||
|
|
||||||
Code of Conduct
|
|
||||||
==============================
|
|
||||||
Help us keep Milligram open and inclusive. Please read and follow our thoughts on [Code of Conduct](http://confcodeofconduct.com/).
|
|
||||||
|
|
||||||
License
|
|
||||||
==============================
|
|
||||||
By contributing your code, you agree to license your contribution under the [MIT license](https://github.com/milligram/milligram#license).
|
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
<!-- Are you fixing a bug? Implementing a new feature? Updating the documentation? Describe here something about your changes. Don't forget to add the link to the open issue, or to other pull request related. -->
|
|
||||||
|
|
||||||
### Code sample
|
|
||||||
|
|
||||||
<!-- Provide code samples on [Codepen](http://codepen.io/). -->
|
|