diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-08-05 16:13:20 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-08-05 16:38:54 +0000 |
| commit | 88ce1030c13e33fe04bd8d66eb44a184365d6dd8 (patch) | |
| tree | 5fa3cb351b139c286397d0f7107cdaffd699d2d7 | |
| parent | copilot/fltk, wx: small fixes and alignment (diff) | |
| download | alive-88ce1030c13e33fe04bd8d66eb44a184365d6dd8.tar.gz alive-88ce1030c13e33fe04bd8d66eb44a184365d6dd8.zip | |
update release script, update scm rockspec
| -rw-r--r-- | README.md | 31 | ||||
| -rwxr-xr-x | dist/release.sh | 15 | ||||
| -rw-r--r-- | dist/rocks/alive-scm-11.rockspec | 104 |
3 files changed, 134 insertions, 16 deletions
@@ -11,16 +11,21 @@ processes. For more information, visit the full [online documentation][docs]. ## dependencies -- [MoonScript][moonscript]: `luarocks install moonscript` -- [luafilesystem][lfs]*: `luarocks install luafilesystem` -- [LPeg][lpeg]*: `luarocks install lpeg` -- [system][system]: `luarocks install luasystem` -- [socket][socket]: `luarocks install luasocket` (optional) -- [losc][losc]: `luarocks install losc` (optional) -- [lua-rtmidi][rtmidi]: `luarocks install lua-rtmidi` (optional) -- [busted][busted]: `luarocks install busted` (optional, for tests) -- [ldoc][ldoc]: `luarocks install ldoc` (optional, for docs) -- [cmark][cmark]: `luarocks install cmark` (optional, for docs) +- [MoonScript][moonscript]: `luarocks install moonscript` +- [luafilesystem][lfs]*: `luarocks install luafilesystem` +- [LPeg][lpeg]*: `luarocks install lpeg` +- [luasystem][system]: `luarocks install luasystem` +- [luasocket][socket]: `luarocks install luasocket` (optional) +- [losc][losc]: `luarocks install losc` (optional) +- [lua-rtmidi][rtmidi]: `luarocks install lua-rtmidi` (optional) +- [lua-abletonlink][link]: `luarocks install abletonlink` (optional) +- [fltk4lua][fltk4lua]: `luarocks install fltk4lua` (optional GUI) +- [wxLua][wxLua] (optional GUI) +- [LÖVE][love] (optional) +- [lua-texture-share-vk][tsv]: `luarocks install lua-rtmidi` (optional, with LÖVE) +- [busted][busted]: `luarocks install busted` (optional, for tests) +- [ldoc][ldoc]: `luarocks install ldoc` (optional, for docs) +- [cmark][cmark]: `luarocks install cmark` (optional, for docs) \* these are also `moonscript` dependencies and do not neet to be installed manually. @@ -62,10 +67,14 @@ development, simply pass the files as arguments: [system]: https://github.com/o-lim/luasystem [socket]: http://w3.impa.br/~diego/software/luasocket/ [rtmidi]: https://github.com/s-ol/lua-rtmidi/ +[link]: https://git.s-ol.nu/lua-abletonlink +[fltk4lua]: https://github.com/siffiejoe/lua-fltk4lua/ +[wxLua]: https://github.com/pkulchenko/wxlua/tree/master/wxLua +[love]: https://love2d.org/ +[tsv]: https://git.s-ol.nu/lua-texture-share-vk [busted]: https://olivinelabs.com/busted/ [ldoc]: https://github.com/lunarmodules/ldoc [cmark]: https://github.com/jgm/cmark-lua -[love]: https://love2d.org/ [docs]: https://alv.s-ol.nu [guide]: https://alv.s-ol.nu/guide.html 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", + }, + }, +} |
