Commit Graph

44 Commits

Author SHA1 Message Date
Dave Yarwood
4072849c6a Make bin/ps output look nicer 2021-08-03 22:56:57 -04:00
Dave Yarwood
2baa9bb437 Fix bug in changelog parser that was stripping leading whitespace from lines 2021-08-01 17:46:58 -04:00
Dave Yarwood
c78baa358f watch-circleci-pipeline: optional tag argument to watch release builds 2021-07-31 18:38:36 -04:00
Dave Yarwood
43fe319b75 watch-circleci-pipeline should wait for the build to exist 2021-07-31 18:26:11 -04:00
Dave Yarwood
fc4bc594c0 bin/announce-release: wait until release is available in Alda API before announcing it 2021-07-31 18:18:44 -04:00
Dave Yarwood
8cd2e0d524 announce-release script: post in #general 2021-06-30 08:50:21 -04:00
Dave Yarwood
bfc0718d75 bin/smoke-test-example-scores script 2021-06-06 20:20:16 -04:00
Dave Yarwood
46a623cce1 bin/version-changelog fix: recognize headings that have additional content, e.g. the date 2021-04-13 22:24:22 -04:00
Dave Yarwood
2a44bb2179 Fix another instance of the read -r backslash mangling thing 2021-04-13 22:18:11 -04:00
Dave Yarwood
2d4bce44cb Fix shellcheck warning about word splitting 2021-04-13 22:17:29 -04:00
Dave Yarwood
d69da26102 Fix shellcheck warning about read -r being necessary in order not to mangle backslashes 2021-04-13 22:16:59 -04:00
Dave Yarwood
48c1d89079 Improve bin/upload-release to set the correct MIME type on uploaded executables 2021-04-13 22:10:12 -04:00
Dave Yarwood
5148e5cf17 Use command -v instead of which (fixes shellcheck error) 2021-04-10 14:56:50 -04:00
Dave Yarwood
f238f0c720 dev setup improvement: client/bin/run automatically adds the current player build to the PATH 2020-12-27 21:57:51 -05:00
Dave Yarwood
e1a449168d rm unused top-level bin/build script
This isn't really useful anymore now that running the client in dev mode
(`client/bin/run`) builds the player as needed. I think I was imagining that CI
would call a top-level `bin/build` script to build both the client and the
player, but I ended up just invoking both `client/bin/build` and
`player/bin/build` in the CI pipeline instead.
2020-12-27 21:32:56 -05:00
Dave Yarwood
10aff35206 upload a date.txt file with each release 2020-11-29 21:18:43 -05:00
Dave Yarwood
e2573bcb64 convenience script to watch circleci build pipeline from the command line 2020-11-29 13:46:37 -05:00
Dave Yarwood
a5995761e6 rm outdated comment 2020-11-28 20:05:25 -05:00
Dave Yarwood
1ea6a27778 adjust release announcement wording 2020-11-28 15:38:47 -05:00
Dave Yarwood
f4e004ba03 automate announcing releases on slack as soon as they're available 2020-11-27 22:06:01 -05:00
Dave Yarwood
fbab13f839 when uploading artifacts, make them public 2020-11-27 14:45:13 -05:00
Dave Yarwood
97a2340541 [wip] automate building & uploading releases 2020-11-21 21:58:35 -05:00
Dave Yarwood
0f4c5f8f1f fix bin/download-circleci-artifacts - follow redirects 2020-07-21 12:46:34 -04:00
Dave Yarwood
d8a6865086 prepend the version number to the current content SHA to force a rebuild when the top-level VERSION file changes 2020-06-20 21:30:46 -04:00
Dave Yarwood
ea6cb8ee1c share the same version number between the client and player
This got pretty complicated, but I think out of necessity.

We have two programs, the client (`alda`) and the player (`alda-player`), and we
want to make sure that if you build both of them from the same commit of the
Alda repo, then they will each tell you that they're the same version.

We don't want to store the version in multiple places, because then it's
possible to accidentally have a client and player that will tell you they are
different versions, when in fact they were built from the same commit.

* The single source of truth about the current version is the file `VERSION` at
  the top level of the repo.

* The player is a Kotlin (JVM) project, so I just added a symlink to `VERSION`
  in the resource directory, and that allows us to bundle the file in the jar
  file as a resource, and the player process can read that file at runtime to
  get its version. Much simpler than the shenanigans I had to pull for the
  client...

* Go's approach to stuff like this is pretty spartan. You can't really bundle
  resource files into the executable. Instead, you have to do code gen to inject
  whatever content you want into a generated Go source file.

  So, there is now a gitignored `generated/` directory in the client project,
  and a `gen/` directory containing a single source file, `gen/version/main.go`.
  It generates a `generated/version.go` that looks like this:

  ```
  package generated

  // ClientVersion is the version of the Alda client.
  const ClientVersion = "1.99.0"
  ```

  main.go includes the directive `//go:generate go run gen/version/main.go`,
  which runs the Go program that generates `generated/version.go`.

  Go also makes you manually run `go generate` to get that to actually happen,
  so I added that to `bin/build` to ensure that we'll always run `go generate`
  before `go build`. I also made this clear in `main.go` and I will also make it
  clear in the README, to help contributors avoid getting tripped up by this.
  It'll probably still happen, but I don't know what else I can do. Go does not
  hold your hand when it comes to stuff like this.
2020-06-20 21:21:13 -04:00
Dave Yarwood
2dd818cb76 s/daveyarwood/alda-lang in bin/download-circleci-artifacts 2020-03-18 15:33:33 -04:00
Dave Yarwood
37c30b7d44 bin/download-circleci-artifacts script 2020-03-18 15:28:26 -04:00
Dave Yarwood
e32bd5c62d fix(?) shell quoting issues in bin/player-on-path 2020-02-23 21:09:00 -05:00
Dave Yarwood
146bc24586 bin/ps convenience script 2020-02-22 20:11:16 -05:00
Dave Yarwood
18f82d6f9b use 1.99.0 as the working version number
We can bump the patch number as we inch our way towards 2.0.0 :)
2020-01-29 14:41:02 -05:00
Dave Yarwood
55405587dd expect to find player on PATH; add bin/player-on-path convenience script for development purposes 2020-01-29 14:32:59 -05:00
Dave Yarwood
3a7482f652 specify the current release version in a bin/version script 2020-01-28 22:05:10 -05:00
Dave Yarwood
bf6c87f6bd root level bin/build script 2020-01-27 08:08:37 -05:00
Dave Yarwood
4bb330da8f organize builds by content SHA, reuse previous build for some SHA 2020-01-26 08:37:59 -05:00
Dave Yarwood
e08b6bd42e build notes / script tweaks 2020-01-25 23:25:43 -05:00
Dave Yarwood
440c8b943a bin/{build,release} stub scripts; remove boot stuff 2019-03-23 14:20:12 -04:00
Dave Yarwood
a8afbd2ace rm server/bin/ folder, rename top-level bin/ folder to scripts/ 2015-12-25 10:33:49 -05:00
Dave Yarwood
a8442dda61 Merge branch '1.0.0b' into server-client-java 2015-12-24 23:19:23 -05:00
Dave Yarwood
649a71143b restructure project into server/client 2015-12-21 18:34:32 -05:00
Julien Eluard
40cded8491 Replaced existing FluidR3 installation mechanism with a dedicated script. 2015-11-24 09:49:00 -05:00
Dave Yarwood
79e8415767 refer alda.lisp into boot.user, instead of using backtick 2015-10-02 13:19:55 -04:00
Dave Yarwood
83527ba60b typo 🐍 2015-09-20 11:57:34 -04:00
Dave Yarwood
076e305d42 R.I.P. .idea folder
As more people are starting to become involved with the development in Alda, I think it will be easier to collaborate and discuss feature ideas, etc. through some combination of the wiki and the issue tracker. I've moved the ideas in the .idea folder to the wiki, and moved the midi-patch-demo script to the bin folder.
2015-09-07 18:37:21 -04:00
Dave Yarwood
adefdf8b44 alda standalone script 2015-09-03 11:00:49 -04:00