Skip to content

Commit

Permalink
fixed bugs with deleting last/first editors
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-rozenbaum committed Oct 14, 2024
2 parents 1b89fd3 + c1c0eba commit fa62a34
Show file tree
Hide file tree
Showing 27 changed files with 646 additions and 347 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ jobs:
opam exec -- dune build @src/fmt --auto-promote src --profile release
working-directory: ./source
- name: Checkout the website build artifacts repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: hazelgrove/build
token: ${{ secrets.ACCESS_TOKEN }}
path: server
sparse-checkout: |
${{ env.BRANCH_NAME }}
- name: Clear any old build of this branch
run: if [ -d "${BRANCH_NAME}" ] ; then rm -rf "${BRANCH_NAME}" ; fi
working-directory: ./server
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ setup-instructor:
setup-student:
cp src/haz3lweb/ExerciseSettings_student.re src/haz3lweb/ExerciseSettings.re

dev-helper:
dev-helper:
dune fmt --auto-promote || true
dune build @src/fmt --auto-promote src --profile dev

dev: setup-instructor dev-helper
Expand Down Expand Up @@ -58,8 +59,12 @@ repl:
dune utop src/haz3lcore

test:
dune fmt --auto-promote || true
dune build @src/fmt @test/fmt --auto-promote src test --profile dev
node $(TEST_DIR)/haz3ltest.bc.js

watch-test:
dune build @fmt @runtest --auto-promote --watch

clean:
dune clean
5 changes: 2 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
reason
ppx_yojson_conv_lib
ppx_yojson_conv
incr_dom
(omd (>= 2.0.0~alpha4))
ezjs_idb
virtual_dom
bonsai
ppx_deriving
ptmap
uuidm
(uuidm (= 0.9.8)) ; 0.9.9 has breaking deprecated changes
unionFind
ocamlformat
(junit_alcotest :with-test)
Expand Down
10 changes: 10 additions & 0 deletions dune-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
(lang dune 3.16)

; List of warning codes found at https://ocaml.org/manual/5.2/comp.html#s:comp-options
(env
(dev
(flags
(:standard -warn-error +A-26-27-K-58))) ; Disable some unused warnings.
(release
(flags
(:standard -warn-error +A-58))))
5 changes: 2 additions & 3 deletions hazel.opam

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 78 additions & 28 deletions hazel.opam.locked

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa62a34

Please sign in to comment.