aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-08-05 16:13:20 +0000
committers-ol <s+removethis@s-ol.nu>2025-08-05 16:38:54 +0000
commit88ce1030c13e33fe04bd8d66eb44a184365d6dd8 (patch)
tree5fa3cb351b139c286397d0f7107cdaffd699d2d7 /dist
parentcopilot/fltk, wx: small fixes and alignment (diff)
downloadalive-88ce1030c13e33fe04bd8d66eb44a184365d6dd8.tar.gz
alive-88ce1030c13e33fe04bd8d66eb44a184365d6dd8.zip
update release script, update scm rockspec
Diffstat (limited to 'dist')
-rwxr-xr-xdist/release.sh15
-rw-r--r--dist/rocks/alive-scm-11.rockspec104
2 files changed, 114 insertions, 5 deletions
diff --git a/dist/release.sh b/dist/release.sh
index 265b383..2233274 100755
--- a/dist/release.sh
+++ b/dist/release.sh
@@ -51,10 +51,10 @@ else
-- @tfield string release the web URL of this release
{
tag: "${TAG}"
- repo: "https://github.com/s-ol/alive"
- git: "https://github.com/s-ol/alive.git"
+ repo: "https://git.s-ol.nu/alive"
+ git: "https://git.s-ol.nu/alive.git"
web: "https://alv.s-ol.nu"
- release: "https://github.com/s-ol/alive/releases/tag/${TAG}"
+ release: "https://git.s-ol.nu/alive/-/${TAG}"
}
EOF
@@ -69,7 +69,7 @@ package = "alive"
version = "$VERSION-$REVISION"
source = {
- url = "git://github.com/s-ol/alive.git",$WHERE
+ url = "git+https://git.s-ol.nu/alive.git",$WHERE
}
description = {
@@ -117,9 +117,14 @@ STOP
if [ -n "$TAG" ] && [ "$TAG" != "test" ]; then
git add "alv/version.moon" "dist/rocks/alive-$VERSION-$REVISION.rockspec"
+
+ LAST=$(git describe --tags --abbrev=0)
+ LAST="${LAST#v}"
+ git rm "dist/rocks/alive-$LAST-*.rockspec"
+
git commit -m "release $TAG"
git tag -am "version $TAG" "$TAG"
- git push github "$TAG"
+ git push origin "$TAG"
luarocks pack "dist/rocks/alive-$VERSION-$REVISION.rockspec" $ROCK_OPTS
mv "alive-$VERSION-$REVISION.src.rock"* dist/rocks
diff --git a/dist/rocks/alive-scm-11.rockspec b/dist/rocks/alive-scm-11.rockspec
new file mode 100644
index 0000000..88c0706
--- /dev/null
+++ b/dist/rocks/alive-scm-11.rockspec
@@ -0,0 +1,104 @@
+package = "alive"
+version = "scm-11"
+
+source = {
+ url = "git+https://git.s-ol.nu/alive.git",
+}
+
+description = {
+ summary = "Experimental livecoding environment with persistent expressions",
+ detailed = [[
+This is an experimental livecoding language and environment, in which
+expressions persist and update until they are removed from the source code, and
+the interpreter keeps no state that you cannot manipulate directly in the
+source. This yields a direct-manipulation like experience with a purely
+text-based language and works without special editor support.]],
+ homepage = "https://alv.s-ol.nu",
+ license = "GPL-3",
+}
+
+dependencies = {
+ "lua",
+ "moonscript >= 0.5.0",
+ "lpeg",
+ "luafilesystem",
+ "luasystem",
+ "luasocket",
+ "losc",
+}
+
+build = {
+ type = "builtin",
+ modules = {},
+ copy_directories = { "docs" },
+ install = {
+ lua = {
+ ["alv.ast"] = "alv/ast.moon",
+ ["alv.base.builtin"] = "alv/base/builtin.moon",
+ ["alv.base.fndef"] = "alv/base/fndef.moon",
+ ["alv.base.init"] = "alv/base/init.moon",
+ ["alv.base.input"] = "alv/base/input.moon",
+ ["alv.base.match"] = "alv/base/match.moon",
+ ["alv.base.op"] = "alv/base/op.moon",
+ ["alv.base.pureop"] = "alv/base/pureop.moon",
+ ["alv.builtins"] = "alv/builtins.moon",
+ ["alv.cell"] = "alv/cell.moon",
+ ["alv.copilot.base"] = "alv/copilot/base.moon",
+ ["alv.copilot.cli"] = "alv/copilot/cli.moon",
+ ["alv.copilot.fltk"] = "alv/copilot/fltk.moon",
+ ["alv.copilot.love.init"] = "alv/copilot/love/init.moon",
+ ["alv.copilot.udp"] = "alv/copilot/udp.moon",
+ ["alv.copilot.wx"] = "alv/copilot/wx.moon",
+ ["alv.cycle"] = "alv/cycle.moon",
+ ["alv.dummy"] = "alv/dummy.moon",
+ ["alv.error"] = "alv/error.moon",
+ ["alv.init"] = "alv/init.moon",
+ ["alv.invoke"] = "alv/invoke.moon",
+ ["alv.logger"] = "alv/logger.moon",
+ ["alv.module"] = "alv/module.moon",
+ ["alv.parsing"] = "alv/parsing.moon",
+ ["alv.registry"] = "alv/registry.moon",
+ ["alv.result.base"] = "alv/result/base.moon",
+ ["alv.result.const"] = "alv/result/const.moon",
+ ["alv.result.evt"] = "alv/result/evt.moon",
+ ["alv.result.init"] = "alv/result/init.moon",
+ ["alv.result.sig"] = "alv/result/sig.moon",
+ ["alv.rtnode"] = "alv/rtnode.moon",
+ ["alv.scope"] = "alv/scope.moon",
+ ["alv.tag"] = "alv/tag.moon",
+ ["alv.type"] = "alv/type.moon",
+ ["alv.util"] = "alv/util.moon",
+ ["alv.version"] = "alv/version.moon",
+ ["alv.copilot.love.main"] = "alv/copilot/love/main.lua",
+
+ ["alv-lib._midi"] = "alv-lib/_midi.moon",
+ ["alv-lib._osc"] = "alv-lib/_osc.moon",
+ ["alv-lib.array"] = "alv-lib/array.moon",
+ ["alv-lib.glsl-view"] = "alv-lib/glsl-view.moon",
+ ["alv-lib.link-time"] = "alv-lib/link-time.moon",
+ ["alv-lib.logic"] = "alv-lib/logic.moon",
+ ["alv-lib.love"] = "alv-lib/love.moon",
+ ["alv-lib.mat4"] = "alv-lib/mat4.moon",
+ ["alv-lib.math-simple"] = "alv-lib/math-simple.moon",
+ ["alv-lib.math"] = "alv-lib/math.moon",
+ ["alv-lib.midi"] = "alv-lib/midi.moon",
+ ["alv-lib.osc"] = "alv-lib/osc.moon",
+ ["alv-lib.pilot"] = "alv-lib/pilot.moon",
+ ["alv-lib.random"] = "alv-lib/random.moon",
+ ["alv-lib.rhythm"] = "alv-lib/rhythm.moon",
+ ["alv-lib.sc"] = "alv-lib/sc.moon",
+ ["alv-lib.string"] = "alv-lib/string.moon",
+ ["alv-lib.struct"] = "alv-lib/struct.moon",
+ ["alv-lib.testing"] = "alv-lib/testing.moon",
+ ["alv-lib.time"] = "alv-lib/time.moon",
+ ["alv-lib.util"] = "alv-lib/util.moon",
+ ["alv-lib.vis"] = "alv-lib/vis.moon",
+ },
+ bin = {
+ "bin/alv",
+ "bin/alv-wx",
+ "bin/alv-fltk",
+ "bin/alv-love",
+ },
+ },
+}