summaryrefslogtreecommitdiff
path: root/doc/components.mdwn
diff options
context:
space:
mode:
authorJoey Hess2015-03-22 10:04:02 -0400
committerJoey Hess2015-03-22 10:04:02 -0400
commitb32d05a661ff2b928bf9472abe8a39743ccea1e7 (patch)
treed16e2df849a7f5591f7f9d00b67f8e3c916227e7 /doc/components.mdwn
parentcec0929a26110ab20bed6d4d59315b3e46775e12 (diff)
simplify setup process for minimal config mode
Allow cloning a branch. Updated wrapper to check for propellor.cabal and not try to update if it's not present, to handle this case.
Diffstat (limited to 'doc/components.mdwn')
-rw-r--r--doc/components.mdwn21
1 files changed, 5 insertions, 16 deletions
diff --git a/doc/components.mdwn b/doc/components.mdwn
index 2c67d9db..93be79cb 100644
--- a/doc/components.mdwn
+++ b/doc/components.mdwn
@@ -24,20 +24,9 @@ then copy in `~/.propellor/src/Propellor/` and it will be used. See
[[contributing]] if you want to send your improvements back.
All that really needs to be in `~/.propellor/` though, is a `config.hs`
-file, and a cabal file. If you want to set up the repository manually,
-and don't want it to contain propellor's source code, here's a stub cabal
-file to get you started:
+file, and a cabal file. To use propellor this way, you can first
+install propellor, and then copy the two files from the
+[mininalconfig branch](http://source.propellor.branchable.com/?p=source.git;a=tree;h=refs/heads/minimalconfig;hb=refs/heads/minimalconfig),
+or clone it:
-<pre>
-Name: foo
-Cabal-Version: >= 1.6
-Build-Type: Simple
-Version: 0
-
-Executable propellor-config
- Main-Is: config.hs
- GHC-Options: -Wall -threaded -O0
- Build-Depends: propellor, base >= 3
-</pre>
-
-See [[haskell_newbie]] for an example config.hs file.
+ git clone ssh://b-propellor@propellor.branchable.com/propellor.branchable.com .propellor --branch minimalconfig --single-branch