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

Commit

Permalink
Make file for version.
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBugginsNHS committed Jun 27, 2024
1 parent 48fe23c commit ddef511
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies: # Install dependencies needed to build and test the project @Pipel
# TODO: Implement installation of your project dependencies

build: # Build the project artefact @Pipeline
# TODO: Implement the artefact build step
(cd docs && make build)

publish: # Publish the project artefact @Pipeline
# TODO: Implement the artefact publishing step
Expand All @@ -20,12 +20,15 @@ deploy: # Deploy the project artefact to the target environment @Pipeline
# TODO: Implement the artefact deployment step

clean:: # Clean-up project resources (main) @Operations
rm -f .version
# TODO: Implement project resources clean-up step

config:: # Configure development environment (main) @Configuration
# TODO: Use only 'make' targets that are specific to this project, e.g. you may not need to install Node.js
make _install-dependencies
config:: _install-dependencies version # Configure development environment (main) @Configuration
(cd docs && make install)

version:
rm -f .version
make version-create-effective-file dir=.
# ==============================================================================

${VERBOSE}.SILENT: \
Expand Down
2 changes: 2 additions & 0 deletions docs/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
1 change: 1 addition & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ h help:
@egrep '^\S|^$$' Makefile

install:
npm install
bundle config set --local path vendor/bundle
bundle install

Expand Down
14 changes: 12 additions & 2 deletions nhs-notify-repository-template.code-workspace
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
{
"folders": [
{
"name": "NHS Notify Repo Template",
"name": "NHS Notify Repository Template",
"path": "."
},
{
"name": "NHS Notify Repo Template Docs",
"name": "Docs",
"path": "docs"
}
],
"settings": {
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.ruby-lsp": true,
"docs": true
},
"workspace-terminals.switchTerminal": "always",
"workspace-terminals.auto": "always",
"markdownlint.config": {
Expand Down

0 comments on commit ddef511

Please sign in to comment.