Skip to content

Commit

Permalink
Move source from repo root to src/
Browse files Browse the repository at this point in the history
  • Loading branch information
danfragoso committed Oct 22, 2020
1 parent f036478 commit 80ba73b
Show file tree
Hide file tree
Showing 72 changed files with 18 additions and 16 deletions.
20 changes: 11 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
all:
@go run *.go

run:
@go run *.go $(url)
.ONESHELL:

serve:
@http-server tests &
all: run

debug:
@go run *.go $(url) debug
run:
@cd src
@go run *.go

build:
@echo -e "Building THDWB - 🌭"
@cd src
@go build -o thdwb -ldflags "-s -w" *.go
@chmod 755 thdwb
@mkdir bin; mv thdwb bin/

clean:
@cd src
@rm -rf bin

test:
@echo -e "Testing Sauce...\n"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![thdwb](https://raw.githubusercontent.com/danfragoso/thdwb/master/thdwb.png)
![thdwb](https://raw.githubusercontent.com/danfragoso/thdwb/master/assets/thdwb.png)

This is the hotdog web browser project. It's a web browser with its own layout and rendering engine, parsers, and UI toolkit!

Expand All @@ -8,7 +8,7 @@ The main goal of this project is to learn how to does a web browser works under

🌭🌭🌭

<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/scr_1.png"></img>
<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/assets/scr_1.png"></img>

### Components
- ketchup (html parser and DOM Tree builder)
Expand All @@ -19,20 +19,20 @@ The main goal of this project is to learn how to does a web browser works under
- [gg](https://github.com/fogleman/gg) (drawing routines and text rendering)

### Getting started
- Running
- Running

```sh
make
```
This command will start the browser and load an example page

- Testing

```sh
make test
```
This command will run all the configurated unit tests

- Building

```sh
Expand All @@ -42,6 +42,6 @@ The main goal of this project is to learn how to does a web browser works under

### Screenshots

<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/scr_2.png"></img>
<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/assets/scr_2.png"></img>

<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/scr_3.png"></img>
<img src="https://raw.githubusercontent.com/danfragoso/thdwb/master/assets/scr_3.png"></img>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed logo.png
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 80ba73b

Please sign in to comment.