Skip to content

tlonist-sang/polylith-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Polylith documentation can be found here:

You can also get in touch with the Polylith Team via our forum or on Slack.

roly-poly

Add your workspace documentation here...

commands

init project

#In .zshrc, add alias cljp "clojure -Tpoly"
clojure -Tpoly create entity '"workspace"' name next-gen top-ns com.my-company

Shell

clojure -Tpoly shell

Info

clojure -Tpoly info

Component

clojure -Tpoly create entity '"component"' name user
#Remember to add paths and/or local/root dependency to dev and project 'deps.edn' files.

Base

clojure -Tpoly create entity '"base"' name cli
#Remember to add paths and/or local/root dependency to dev and project 'deps.edn' files.

A base does NOT have any interface.

Project

clojure -Tpoly create entity '"project"' name command-line
#It's recommended to add an alias to :projects in ./workspace.edn for the command-line project.

Build

clojure -T:build uberjar :project command-line

Micro-tips

git log --pretty=oneline

HOWs

  • How is it compared to MSA?
  • How to re-use codes and co-work?
  • How to build?
  • How to run tests?
  • How to distribute?

Related resources

About

polylith tryout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published