Sha256: 120263106bc7c435cedeb73623f760fb6b1d1428cca346c5646e7f3c3167457c

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "phlex"
require "bundler"
require "fileutils"

Bundler.require :docs

Zeitwerk::Loader.new.tap do |loader|
	loader.push_dir(__dir__)
	loader.ignore(__FILE__)
	loader.setup
	loader.eager_load
end

FileUtils.mkdir_p("#{__dir__}/dist")
FileUtils.cp_r("#{__dir__}/assets", "#{__dir__}/dist")

PageBuilder.build_all

system "npx tailwindcss -i ./docs/assets/application.css -o ./docs/dist/application.css"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phlex-0.3.2 docs/build.rb
phlex-0.3.1 docs/build.rb
phlex-0.3.0 docs/build.rb