Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Makefile #18

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
with:
node-version: "20"
- name: Build Project
run: |
make web
run: yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2020 Christian Meter and Contributors
Copyright (c) 2016 -- today Christian Meter and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 0 additions & 27 deletions Makefile

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ information about it.

🌅 Find a demo of reveal-cljs on this page: https://n2o.github.io/reveal-cljs/

It uses Hiccup-syntax for templating, which makes it very easy to create slides.
It uses Hiccup-syntax for templates, which makes it very easy to create slides.

Start the project with `make repl` and see your live
Start the project with `yarn dev` and see your live
slides. Start _speaker-mode_ by pressing <kbd>s</kbd> in the slides in your
browser.

Expand All @@ -26,8 +26,8 @@ browser.
Tested with AdoptOpenJDK 16, see CI Build Job for more details in the
environment.

A JDK, [Clojure's CLI Tools](https://clojure.org/guides/getting_started),
[yarn](https://yarnpkg.com/en/) and `make` are necessary to
A JDK, [Clojure's CLI Tools](https://clojure.org/guides/getting_started) and
[yarn](https://yarnpkg.com/en/) are necessary to
build and run the project.

## Usage
Expand All @@ -47,11 +47,11 @@ Then start the development server as seen in the Setup section.

Everything in one command:

make
yarn install

To get an interactive development environment, run:

make repl
yarn dev

Figwheel opens your browser at [localhost:9500](http://localhost:9500/). This
will auto compile and send all changes to the browser without the need to
Expand All @@ -67,7 +67,7 @@ By following these steps, you can publish the presentation on a regular
server, which only needs to serve HTML, CSS and JavaScript Files. This
is all put into one task:

make web
yarn build

Follow the steps on the terminal to find your prepared presentation.

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "1.6.0",
"description": "A ClojureScript wrapper for reveal.js",
"main": "reveal.core",
"scripts": {
"dev": "clj -M:fig",
"clean": "rm -rf target/ resources/public/cljs-out resources/public/node_modules",
"build": "mkdir -p resources/public/cljs-out && clojure -M:fig/simple && cp target/public/cljs-out/dev-main.js resources/public/cljs-out",
"clj:outdated": "clojure -M:outdated"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.6.0",
"bootstrap-4-grid": "^3.4.0",
Expand Down
Loading