Skip to content

Commit

Permalink
shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
rh0delta committed Oct 24, 2024
1 parent b3fe7ec commit 85a0814
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
permissions:
contents: read
runs-on: ubuntu-22.04
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
7 changes: 7 additions & 0 deletions dev/bin/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /usr/bin/env bash

source ./node_modules/@entropyxyz/sdk/dev/bin/ENTROPY_CORE_VERSION.sh
echo version:
echo $ENTROPY_CORE_VERSION
export ENTROPY_CORE_VERSION=$ENTROPY_CORE_VERSION
tsup --env.ENTROPY_CORE_VERSION $ENTROPY_CORE_VERSION
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "yarn build:global && entropy",
"start:debug": "DEBUG=@entropyxyz/cli yarn start",
"build": "source ./node_modules/@entropyxyz/sdk/dev/bin/ENTROPY_CORE_VERSION.sh && tsup --env.ENTROPY_CORE_VERSION $ENTROPY_CORE_VERSION",
"build": "./dev/bin/build.sh",
"build:global": "yarn build && npm install -g",
"lint": "eslint . --ext .ts --fix",
"test": "yarn test:types && yarn build:global && yarn test:ts && yarn test:only",
Expand Down

0 comments on commit 85a0814

Please sign in to comment.