{"id":16014881,"url":"https://github.com/thheller/cljs-macro-requires","last_synced_at":"2025-04-05T02:43:16.428Z","repository":{"id":12234782,"uuid":"14845854","full_name":"thheller/cljs-macro-requires","owner":"thheller","description":null,"archived":false,"fork":false,"pushed_at":"2013-12-01T20:47:57.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T11:11:40.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thheller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-01T20:46:55.000Z","updated_at":"2013-12-01T20:47:59.000Z","dependencies_parsed_at":"2022-09-23T05:10:59.280Z","dependency_job_id":null,"html_url":"https://github.com/thheller/cljs-macro-requires","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fcljs-macro-requires","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fcljs-macro-requires/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fcljs-macro-requires/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fcljs-macro-requires/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thheller","download_url":"https://codeload.github.com/thheller/cljs-macro-requires/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280181,"owners_count":20912965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T15:05:25.145Z","updated_at":"2025-04-05T02:43:16.408Z","avatar_url":"https://github.com/thheller.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get started with ClojureScript\n\n### Install Leiningen (a Clojure build tool)\n\n#### With homebrew (OS X)\n\n    $ brew install leiningen\n\n#### Manually\n\nDownload the script\n\n    $ curl https://raw.github.com/technomancy/leiningen/stable/bin/lein \u003e ~/bin/lein\n\nCheck ~/.bin is in your path by running\n\n    $ echo $PATH\n\nSet the lein script to be executable\n\n    $ chmod 755 ~/bin/lein\n\nInstall\n\n    $ lein\n\nCheck it works\n\n    $ lein repl\n    $ (+ 2 2)\n\n### Install Java JDK 6 or later\n\nFollow the instructions at http://www.java.com/en/download/help/index_installing.xml\n\n### Make a simple ClojureScript project\n\nMake this directory structure\n\n    barecljs/\n      src-cljs/\n        bare/\n          bare.cljs\n      project.clj\n\nMake these files\n\nproject.clj\n\n    (defproject barecljs \"0.1.0\"\n      :source-paths [\"src-clj\"]\n      :dependencies [[org.clojure/clojure \"1.5.1\"]\n                     [org.clojure/clojurescript \"0.0-1859\"\n                     :exclusions [org.apache.ant/ant]]]\n      :plugins [[lein-cljsbuild \"0.3.4\"]]\n      :cljsbuild {\n                  :builds [{:source-paths [\"src-cljs\"]\n                            :compiler {:output-to \"js/main.js\"\n                                       :optimizations :simple\n                                       :pretty-print true}}]})\n\nbare.cljs\n\n    (ns example.core)\n    (console/log (+ 2 2))\n\nInstall the dependencies for the example project\n\nInstalls the jars required to run the project into a local jar folder.\n\n    $ lein deps\n\nCompile cljs code to JS, save to disk. If cljs changes, recompiles automatically.\n\n    $ lein cljsbuild auto\n\nOpen js/main.js and check it has `2 + 2` on the last line\n\nChange the cljs code `(+ 2 2)` to something else, save, check that the JS changes\n\n### Run your JS code\n\n#### node\n\n##### Install node\n\n###### With homebrew\n\n    $ brew install node\n\n###### Manually\n\nGo to [nodejs.org](http://nodejs.org) and click the Install button\n\n##### Run the JS\n\n    $ cd barecljs\n    $ node js/main.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthheller%2Fcljs-macro-requires","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthheller%2Fcljs-macro-requires","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthheller%2Fcljs-macro-requires/lists"}