Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandru committed Sep 7, 2024
1 parent 0081c3a commit 7fe3003
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ site/Gemfile.lock
node_modules/
project/project
.history
.ruby-version
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
RUBY_VERSION := $(shell cat "./site/.ruby-version")

build-microsite:
rbenv install -s "$(RUBY_VERSION)"
ln -sf "./site/.ruby-version" "./.ruby-version"
bundle install --gemfile=site/Gemfile
sbt site/publishMicrosite
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ lazy val site = project.in(file("site"))
Seq(
micrositeName := projectTitle.value,
micrositeDescription := "Macro-free helpers for defining newtypes in Scala.",
micrositeAuthor := "The Monix Developers",
micrositeAuthor := "Alexandru Nedelcu",
micrositeTwitterCreator := "@monix",
micrositeGithubOwner := githubOwnerID.value,
micrositeGithubRepo := githubRelativeRepositoryID.value,
Expand Down
2 changes: 1 addition & 1 deletion site/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
3.3.5

0 comments on commit 7fe3003

Please sign in to comment.