This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Source: https://gist.github.com/daichan4649/8877801 */ | |
function doGet(e) { | |
//tab name in sheet | |
var sheetName = "Sheet 1"; | |
//key in url of document | |
var sheetId = "1234..."; | |
var book = SpreadsheetApp.openById(sheetId); | |
var sheet = book.getSheetByName(sheetName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
if Rake::Task.task_defined?('webpacker:clean') | |
puts %(Task webpacker:clean has already been defined. The monkey patch located in "#{__FILE__}" can be removed.) | |
else | |
module WebPackerClean | |
def clean | |
return if !config.public_output_path.exist? || !config.public_manifest_path.exist? | |
count_to_keep = 2 |
OlderNewer