diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5cb6646 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +all: out/gender.min.js out/index.html + +out/gender.max.js: src/ + elm make src/Main.elm --optimize --output out/gender.max.js + +out/gender.min.js: out/gender.max.js + npx uglify-js out/gender.max.js --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | npx uglify-js --mangle --output out/gender.min.js + +out/index.html: static/index.html + cp static/index.html out/index.html \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a559524 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Gender Friends + +A silly little meme sketch thingy idk + +## Building + +Install [`elm`][] and [`npx`][] (just used for minification). + +Run `make` in the same directory as this README. \ No newline at end of file diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..ab88f56 --- /dev/null +++ b/static/index.html @@ -0,0 +1,14 @@ + + + + + + +
+ + + \ No newline at end of file