Skip to content

Commit

Permalink
Remove bundle command
Browse files Browse the repository at this point in the history
*BREAKING CHANGE*

If you used the bundle command, it is now gone. I personally didn't
find a use for it since most of the time people use dedicated bundlers
like webpack
  • Loading branch information
swlkr committed Nov 20, 2020
1 parent fba85a4 commit 89fc687
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions joy
Expand Up @@ -12,7 +12,6 @@
Actions:
help - Print this usage information
new <project-name> - Create a new folder with the name of your project
bundle [path] - Bundles css and js files
create <db|route|table|migration> <name> - Generate a new thing
migrate - Migrates the database
rollback - Rolls back the most recent migration
Expand All @@ -24,7 +23,7 @@
(def action (get args 1))
(def options (drop 2 args))

(def actions ["create" "help" "new" "migrate" "rollback" "server" "watch" "version" "bundle" "secret"])
(def actions ["create" "help" "new" "migrate" "rollback" "server" "watch" "version" "secret"])

(if (and (nil? (find-index |(= action $) actions))
(not (nil? action)))
Expand All @@ -45,5 +44,4 @@
"server" (os/shell "jpm run server")
"watch" (os/shell "jpm run watch")
"version" (print version)
"bundle" (bundle)
"secret" (print (cipher/encryption-key))))

0 comments on commit 89fc687

Please sign in to comment.