commit 7e37ce499bac82c18713161bc2e7550c260a5524 Author: heyarne Date: Sat May 2 14:26:48 2020 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6549a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,186 @@ + +# Created by https://www.gitignore.io/api/clojure,emacs +# Edit at https://www.gitignore.io/?templates=clojure,emacs + +### Clojure ### +pom.xml +pom.xml.asc +*.jar +*.class +/lib/ +/classes/ +/target/ +/checkouts/ +.lein-deps-sum +.lein-repl-history +.lein-plugins/ +.lein-failures +.nrepl-port +.nrepl-history +.cpcache/ +.clj-kondo/.cache/ +.shadow-cljs/ + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +# End of https://www.gitignore.io/api/clojure,emacs + +# Created by https://www.gitignore.io/api/node +# Edit at https://www.gitignore.io/?templates=node + +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# rollup.js default build output +dist/ + +# Uncomment the public line if your project uses Gatsby +# https://nextjs.org/blog/next-9-1#public-directory-support +# https://create-react-app.dev/docs/using-the-public-folder/#docsNav +# public + +# Storybook build outputs +.out +.storybook-out + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# Temporary folders +tmp/ +temp/ + +# End of https://www.gitignore.io/api/node diff --git a/deps.edn b/deps.edn new file mode 100644 index 0000000..17e824d --- /dev/null +++ b/deps.edn @@ -0,0 +1,2 @@ +{:paths ["src"] + :deps {thheller/shadow-cljs {:mvn/version "2.8.109"}}} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d9d6d41 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "heyarne.all-my-friends", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "GPL" +} diff --git a/resources/public/.gitignore b/resources/public/.gitignore new file mode 100644 index 0000000..6a63c9d --- /dev/null +++ b/resources/public/.gitignore @@ -0,0 +1 @@ +js/ diff --git a/resources/public/index.html b/resources/public/index.html new file mode 100644 index 0000000..360007f --- /dev/null +++ b/resources/public/index.html @@ -0,0 +1,6 @@ + + + + Hello world + + diff --git a/shadow-cljs.edn b/shadow-cljs.edn new file mode 100644 index 0000000..3e9502b --- /dev/null +++ b/shadow-cljs.edn @@ -0,0 +1,7 @@ +{:deps true + :dev-http {8080 "resources/public"} + :builds + {:app {:target :browser + :output-dir "resources/public/js" + :asset-path "/js" + :modules {:main {:entries [heyarne.all-my-friends.core]}} }} } diff --git a/src/heyarne/all_my_friends/core.cljs b/src/heyarne/all_my_friends/core.cljs new file mode 100644 index 0000000..ef36170 --- /dev/null +++ b/src/heyarne/all_my_friends/core.cljs @@ -0,0 +1,2 @@ +(ns heyarne.all-my-friends.core) +(println "hello world")