aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--Makefile8
m---------scss/bootstrap0
-rw-r--r--scss/main.scss9
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
diff --git a/Makefile b/Makefile
index ecf165d..c947b68 100644
--- a/Makefile
+++ b/Makefile
@@ -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";