Skip to content

Commit cf89ae9

Browse files
committed
WIP
1 parent d53d218 commit cf89ae9

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

CLAUDE.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# CLAUDE.md
2+
3+
## iPlug2OOS "out of source"
4+
5+
This repository is based off of the [iPlug2OOS "out of source" repo](https://github.com/iPlug2/iPlug2OOS.git). It contains the iPlug2 framework as a git submodule in the @iPlug2 folder and template plugin project code in @TemplateProject.
6+
7+
@TemplateProject can be duplicated using @duplicate.py at the top level of the repo in order to create a new iPlug2 project with a unique name. If there is no other folder existing already we can assume this is a fresh clone, otherwise we may want to pick up and carry on with a previously cloned project. Typically @TemplateProject can remain in order that more projects may be added to the repo via duplication at a later stage.
8+
9+
### Cloning TemplateProject
10+
11+
```bash
12+
./duplicate.py TemplateProject [outputprojectname] [manufacturername]
13+
```
14+
15+
outputprojectname and manufacturername are mandatory and should not contain spaces e.g.
16+
17+
```bash
18+
./duplicate.py TemplateProject MyNewAudioPlugin MyBrandName
19+
```
20+
21+
once the template has been cloned, ask the user if they want to commit the newly cloned project and modified top level config files using the following commands...
22+
23+
```bash
24+
git add MyNewAudioPlugin/* # the newly cloned plugin project
25+
git add .vscode/* # vscode launch.json and tasks.json for the top level iPlug2OOS.code-workspace file
26+
git add .github/* # github actions
27+
git add bump_version.py # a script that can be used to bump the version number in
28+
git commit -m "created MyNewAudioPlugin based on TemplateProject"
29+
```
30+
31+
### Building the cloned project
32+
33+
The structure of an iPlug2 project is described in @iPlug2/Documentation/structure.md
34+
35+
## Additional instructions
36+
- iPlug2 @iPlug2/Documentation/CLAUDE.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Build WAM](https://github.com/iPlug2/iPlug2OOS/workflows/Build%20WAM/badge.svg)
22

3-
This is the iPlug2 template project and an example of how to set up an iPlug2 project to build "out of source", which is desirable when you need to keep all your project dependencies synchronised with version control and build on Cloud CI/CD. It set up for "containerized development" using [VSCode](https://code.visualstudio.com/docs/devcontainers/containers) and [github codespaces](https://github.com/features/codespaces).
3+
This repo contains an "out of source" iPlug2 template project, which is desirable when you need to keep all your project dependencies synchronised with version control and build it using CI/CD in the cloud. It set up for "containerized development" using [VSCode](https://code.visualstudio.com/docs/devcontainers/containers) and [github codespaces](https://github.com/features/codespaces).
44

55
Instead of using the common-mac.xcconfig and common-win.xcconfig in the iPlug2 folder, it uses copies of them at the top level of the iPlug2OOS repo. This means the iPlug2 submodule itself does not have to be modified.
66

duplicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# binary files that we don't want to do find and replace inside
4040
FILTERED_FILE_EXTENSIONS = [".ico",".icns", ".pdf", ".png", ".zip", ".exe", ".wav", ".aif", ".data", ".wasm", "mkcert"]
41-
FILTERED_FILE_NAMES = [".DS_Store"]
41+
FILTERED_FILE_NAMES = [".DS_Store", "CLAUDE.md", "duplicate.py"]
4242
# files that we don't want to duplicate
4343
DONT_COPY = (".vs", "*.exe", "*.dmg", "*.pkg", "*.mpkg", "*.svn", "*.ncb", "*.suo", "*sdf", "ipch", "*.layout", "*.depend", ".DS_Store", "xcuserdata", "*.aps")
4444

0 commit comments

Comments
 (0)