summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL30
1 files changed, 0 insertions, 30 deletions
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index 19bc883..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,30 +0,0 @@
-CLI uses itself for command line options parsing which makes it a bit tricky
-to develop. Below is one way to setup the development environment:
-
-$ git clone .../cli.git
-$ cd cli
-$ bdep init -C ../builds/main @main cc # Main build.
-$ bdep update # Using pre-geneared code.
-$ bdep init -d cli/ -C ../builds/save @save cc # "Saved" build.
-$ bdep update @save
-
-# @@ This does not currently work because bdep (bpkg) will drop it on next
-# sync (reconfigure).
-#
-#$ b configure: ../builds/main/cli/ \
-# config.cli="$(realpath ../builds/save/cli/cli/cli)"
-
-$ echo >>../builds/main/build/config.build \
- "cli/ config.cli=$(realpath ../builds/save/cli/cli/cli)"
-
-$ bdep update # Regenerate code.
-
-Then, when making changes that affect the generated code, perform the
-following sequence of steps (the key thing to keep in mind is that the saved
-configuration will use generated code from source directory that is
-backlinked during the main build):
-
-$ b cli/ # Regenerate using old saved.
-$ bdep update @save # Update saved.
-$ b cli/ # Regenerate using new saved.
-$ bdep update @save # Update saved.