Skip to content

Commit

Permalink
Rename packages/core dir to packages/rose
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep committed Dec 29, 2023
1 parent c7676b3 commit 28eed89
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.DS_Store
*.tgz
*.vsix
/packages/core/README.md
/packages/rose/README.md
/packages/vscode/*.png
dist/
node_modules/
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ check: prettier

# delete build artifacts, but not dependencies or downloaded files
clean:
git clean -Xdf packages -e '!node_modules'
git clean -Xdf packages -e '!node_modules' -e '!*.png'

# do everything
all: build test check
Expand All @@ -23,25 +23,25 @@ prettier: npm
npx prettier --check .

# build `packages/`
packages: core site vscode
packages: rose site vscode

# run JavaScript tests
test-js: test-core test-site
test-js: test-rose test-site

## `packages/core`
## `packages/rose`

# build
core: npm
cp README.md packages/core
rose: npm
cp README.md packages/rose
npm run --workspace=rose build

# test
test-core: npm
test-rose: npm
npm run --workspace=rose test -- run --no-threads

## `packages/site`

site-deps: npm core
site-deps: npm rose

# build
site: site-deps
Expand Down
7 changes: 3 additions & 4 deletions package-lock.json

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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rose-vscode",
"displayName": "Rose",
"version": "0.0.0",
"version": "0.5.0",
"publisher": "rose-lang",
"description": "Syntax highlighting for Rose.",
"license": "MIT",
Expand Down

0 comments on commit 28eed89

Please sign in to comment.