File: index.html

package info (click to toggle)
leiningen-clojure 2.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,008 kB
  • sloc: xml: 916; sh: 760; lisp: 46; makefile: 34; java: 16
file content (166 lines) | stat: -rw-r--r-- 7,705 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

    <!-- Basic Page Needs
  ================================================== -->
    <meta charset="utf-8">
    <title>Leiningen</title>
    <meta name="description" content="Leiningen: automating Clojure projects">
    <meta name="author" content="Phil Hagelberg and contributors">

    <!-- Mobile Specific Metas
  ================================================== -->
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">

    <!-- Favicons + Manifest
  ================================================== -->
  <link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
  <link rel="manifest" href="/img/favicon/manifest.json">
  <link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#000000">
  <link rel="shortcut icon" href="/img/favicon/favicon.ico">
  <meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
  <meta name="theme-color" content="#ffffff">

    <!-- CSS
  ================================================== -->
    <link rel="stylesheet" href="stylesheets/base.css">
    <link rel="stylesheet" href="stylesheets/skeleton.css">
    <link rel="stylesheet" href="stylesheets/layout.css">
    <link rel="stylesheet" href="stylesheets/htmlize.css">
    <link rel="stylesheet" href="stylesheets/lein.css">
</head>
<body>

  <div class="container">
    <div class="three columns offset-by-one">
      <img src="img/leiningen.jpg" title="logo" id="logo">
    </div>
    <div class="eight columns offset-by-two" id="title">
      <h1 class="remove-bottom" style="margin-top: 40px">Leiningen</h1>
      <h6>for automating Clojure projects without setting your hair on fire</h6>
      <nav id="links" class="offset-by-three">
        <a href="#install">install</a> |
        <a href="#docs">docs</a> |
        <a href="#community">community</a> |
        <a href="https://codeberg.org/leiningen/leiningen">source</a>
      </nav>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="one-third column">
      <p id="pitch">Leiningen is <strong>the easiest way to use
      <a href="https://clojure.org">Clojure</a></strong>. With a focus
      on project automation and declarative configuration, it gets out
      of your way and lets you focus on your code.</p>
    </div>
    <div class="two-thirds column">
    <pre class="htmlize" id="sample-project"><span class="esk-paren">(</span>defproject leiningen.org <span class="string">"1.0.0"</span>
  <span class="constant">:description</span> <span class="string">"Generate static HTML for https://leiningen.org"</span>
  <span class="constant">:dependencies</span> [[enlive <span class="string">"1.0.1"</span>]
                 [cheshire <span class="string">"4.0.0"</span>]
                 [org.markdownj/markdownj <span class="string">"0.3.0-1.0.2b4"</span>]]
  <span class="constant">:main</span> leiningen.web<span class="esk-paren">)</span></pre>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="one-third column"><h3 class="offset-by-one">Install</h3></div>
    <div class="two-thirds column">
      <p>First check
      your <a href="https://codeberg.org/leiningen/leiningen/wiki/Packaging">package
      manager</a> to see whether it includes Leiningen. If not, don't
      worry; a manual install is easy.</p>

      <p>Leiningen and Clojure require Java; ideally
        <a href="https://adoptium.net">OpenJDK</a>.</p>
      <a name="install"></a>
      <ol>
        <li>Download the <a href="https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein"><kbd>lein</kbd>
        script</a> (or on
          Windows <a href="https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat"><kbd>lein.bat</kbd></a>)</li>
        <li>Place it on your <tt>$PATH</tt> where your shell can find it (eg. <tt>/usr/local/bin/</tt>)</li>
        <li>Set it to be executable (<kbd>sudo chmod a+x /usr/local/bin/lein</kbd>)</li>
        <li>Run it (<kbd>lein</kbd>) and it will download the self-install package</li>
      </ol>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="one-third column" style="float: right">
      <h3 class="offset-by-one">Documentation</h3></div>

    <div class="two-thirds column">
      <a name="docs"></a>
      <p>The <a href="https://codeberg.org/leiningen/leiningen/src/stable/doc/TUTORIAL.md">tutorial</a>
        is the best place to start. If you have Leiningen installed,
        you can read the tutorial by running <kbd>lein help
        tutorial</kbd>. It does not cover learning the
        language itself;
        good <a href="http://clojure-doc.org">Clojure
        documentation</a> can be found elsewhere.</p>


      <p>Running <kbd>lein help faq</kbd> will get you the
        <a href="https://codeberg.org/leiningen/leiningen/src/stable/doc/FAQ.md">FAQ</a>.
        Documentation for each individual task is available
        via <kbd>lein help $TASK</kbd>. You can also
        see <a href="https://codeberg.org/leiningen/leiningen/src/stable/sample.project.clj">the
        sample <tt>project.clj</tt> file</a> containing a reference of most
        project settings by running <kbd>lein help sample</kbd>.</p>

      <p>More:
        <a href="https://codeberg.org/leiningen/leiningen/src/stable/doc/PROFILES.md">profiles</a> |
        <a href="https://codeberg.org/leiningen/leiningen/src/stable/doc/DEPLOY.md">deploying libraries</a> |
        <a href="https://codeberg.org/leiningen/leiningen/src/stable/doc/PLUGINS.md">writing plugins</a> |
        <a href="https://codeberg.org/leiningen/leiningen/wiki/Plugins">plugin list</a>
      </p>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="one-third column"><h3 class="offset-by-one">Community</h3></div>
    <div class="two-thirds column">
      <a name="community"></a>
      <p>At the time of this writing Leiningen is the most
        widely-contributed-to Clojure project. We welcome potential
        contributors and do our best to make it easy to help out.</p>

      <p>Discussion occurs primarily <a href="irc://irc.libera.chat#leiningen">in
          the <tt>#leiningen</tt> channel</a>
        on <a href="https://libera.chat">Libera.Chat</a>.</p>

      <p>Issues should
        be <a href="https://codeberg.org/leiningen/leiningen/issues">reported
        on the issue tracker</a>.</p>

      <p>The <a href="https://codeberg.org/leiningen/leiningen/issues">canonical
          repository is on Codeberg</a> but a mirror will be left up
        <a href="https://github.com/technomancy/leiningen">on
        Github</a> for a while for people who have not yet created a
        Codeberg account.</p>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="sixteen columns" id="footer">
        <p>&copy; 2012-2022 Phil Hagelberg
        and contributors. Licensed under
        the <a href="https://codeberg.org/leiningen/leiningen/src/stable/COPYING">EPL
        1.0</a>. See the code
        for <a href="https://codeberg.org/leiningen/leiningen/src/main/web">this
        site</a>.</p>
    </div>
    </div><!-- container -->

<!-- End Document
================================================== -->
</body>
</html>