Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Cocoa <i@uwucocoa.moe>
  • Loading branch information
cocoa-xu committed Nov 12, 2024
1 parent 0e8233a commit 76cf278
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/precompile.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: precompile

on:
workflow_dispatch:
push:
tags:
- 'v*'

env:
CI: true

permissions:
contents: write

Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ MAKE_BUILD_FLAGS ?= -j$(DEFAULT_JOBS)
.DEFAULT_GLOBAL := build

build: $(NIF_SO_REL)
@echo > /dev/null
@ if [ "${CI}" = "true" ]; then \
file "$(NIF_SO)" ; \
fi

clean:
@rm -rf "$(NIF_SO_REL)"
@rm -rf "$(NIF_SO)"
@rm -rf "$(CMAKE_ADBC_NIF_BUILD_DIR)"
@rm -rf "$(CMAKE_ADBC_BUILD_DIR)"
@rm -rf "$(PRIV_DIR)"

priv_dir:
Expand Down

0 comments on commit 76cf278

Please sign in to comment.