summaryrefslogtreecommitdiff
path: root/scratch
diff options
context:
space:
mode:
Diffstat (limited to 'scratch')
-rw-r--r--scratch/build.sc3
-rw-r--r--scratch/readme.md15
2 files changed, 18 insertions, 0 deletions
diff --git a/scratch/build.sc b/scratch/build.sc
new file mode 100644
index 00000000..9ee78d63
--- /dev/null
+++ b/scratch/build.sc
@@ -0,0 +1,3 @@
+def thingy = T {
+ 1234567
+} \ No newline at end of file
diff --git a/scratch/readme.md b/scratch/readme.md
new file mode 100644
index 00000000..6f6ffef8
--- /dev/null
+++ b/scratch/readme.md
@@ -0,0 +1,15 @@
+Scratch folder for testing out the local checkout of Mill on ad-hoc builds.
+
+To run the current checkout of Mill on the build in the scratch folder, use:
+
+```
+mill -i dev.run scratch -w show thingy
+```
+
+If you want to avoid having the bootstrap Mill process running while your
+locally compiled Mill process is running on the build within `scratch` (e.g. to
+simplify debugging) you can use:
+
+```
+mill -i dev.launcher && (cd scratch && ../out/dev/launcher/dest/run -w show thingy)
+``` \ No newline at end of file