Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix: Outdated path
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jun 24, 2022
1 parent 6196b11 commit ec597cb
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/userscript-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
prerelease: true
title: "Nightly Build"
files: |
packages/userscript/bundle/*
packages/userscript/output/*
2 changes: 1 addition & 1 deletion .github/workflows/userscript-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
prerelease: true
title: "Development Build"
files: |
packages/userscript/bundle/*
packages/userscript/output/*
2 changes: 1 addition & 1 deletion .github/workflows/userscript-tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
packages/userscript/bundle/*
packages/userscript/output/*
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ node_modules
tsconfig.tsbuildinfo

/packages/*/output/*

# Created by WebPack and/or plugins
/packages/userscript/bundle
/packages/userscript/node_modules
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/packages/*/bundle/
/packages/*/output/

# yarn internals are already pretty enough
Expand Down
32 changes: 16 additions & 16 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ The development container provides a version of Kitten Game that already a Kitte

1. Start a watcher to continuously rebuild KS when you make code changes.

```shell
yarn userscript:watch
```
```shell
yarn userscript:watch
```

> This task can also be started directly in VS Code, using the **Run Task** command.
> This task can also be started directly in VS Code, using the **Run Task** command.
1. Build the development container and start it.

```shell
yarn devcontainer:run
```
```shell
yarn devcontainer:run
```

The script prints the URL where you can now play the game with KS installed.
The script prints the URL where you can now play the game with KS installed.

You will need to manually reload the page after each build to get the latest changes in the browser.
You will need to manually reload the page after each build to get the latest changes in the browser.

When the container is built, it downloads the latest version of the game from https://bitbucket.org/bloodrizer/kitten-game.

Expand All @@ -54,11 +54,11 @@ To develop without containers, you can build a development version of the usersc

1. Run the build script.

```shell
yarn userscript:preview
```
```shell
yarn userscript:preview
```

The userscript is placed in the `packages/userscript/bundle` directory.
The userscript is placed in the `packages/userscript/output` directory.

### Type-checking

Expand All @@ -68,6 +68,6 @@ To fill the **Problems** panel in VS Code with all current, type-related errors,

1. Run the script to build the release:

```shell
yarn userscript:release
```
```shell
yarn userscript:release
```
1 change: 0 additions & 1 deletion packages/userscript/.gitattributes

This file was deleted.

0 comments on commit ec597cb

Please sign in to comment.