This repository was archived by the owner on Mar 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME.md.sample
More file actions
23 lines (15 loc) · 1.44 KB
/
README.md.sample
File metadata and controls
23 lines (15 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# NewProjectTemplate
## Getting Started
Here's a few simple steps to configure this project after checking it out:
1. Run `brew bundle` in the command line and wait for tools to be installed (requires [Homebrew](https://brew.sh/))
2. Run `beak run link` to link the Beak scripts properly for execution, then restart your terminal
3. Run `project install` to make sure you have all required tools and dependencies installed
That's it, you should now be able to build the project successfully.
## Scripts
Once the project is set up as above, the following script commands should be available in the root of the project:
* `deps install`: Install all dependencies in the currently specified version.
* `deps update`: Updates all dependencies according to their version specifications.
* `tools install`: Installes missing tools & updates all existing to their latest versions.
* `ci lint`: Lints the project with all configured linters like it would on the CI.
* `hooks register`: Registers git hooks for the project to ensure you get notified of potential issues e.g. before committing.
Feel free to add more scripts in the `Scripts` folder. To edit them, run `beak edit -p Scripts/<file>.swift` which will start [Beak's edit mode](https://github.com/yonaskolb/Beak#edit-the-swift-file). Once you are done and saved your changes, make sure to run `beak run link` to ensure all scripts are still executables. (The edit mode of Beak will destroy the rights on save.)