diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile | 8 | ||||
m--------- | scss/bootstrap | 0 | ||||
-rw-r--r-- | scss/main.scss | 9 |
4 files changed, 18 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..860ffa4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "scss/bootstrap"] + path = scss/bootstrap + url = https://github.com/twbs/bootstrap.git @@ -1,8 +1,12 @@ -build: +build: sass go build -o bin/cerrado -run: +run: sass go run . test: go test -v --tags=unit ./... + +sass: + sassc \ + -I scss scss/main.scss bin/main.css diff --git a/scss/bootstrap b/scss/bootstrap new file mode 160000 +Subproject 6e1f75f420f68e1d52733b8e407fc7c3766c9db diff --git a/scss/main.scss b/scss/main.scss new file mode 100644 index 0000000..ae49385 --- /dev/null +++ b/scss/main.scss @@ -0,0 +1,9 @@ +@import "bootstrap/scss/_functions.scss"; +@import "bootstrap/scss/_variables.scss"; +@import "bootstrap/scss/_variables-dark.scss"; +@import "bootstrap/scss/_maps.scss"; +@import "bootstrap/scss/_mixins.scss"; +@import "bootstrap/scss/_utilities.scss"; + + +@import "bootstrap/scss/_root.scss"; |